ocfs2: add ocfs2_init_acl in mknod
authorTiger Yang <tiger.yang@oracle.com>
Fri, 14 Nov 2008 03:17:41 +0000 (11:17 +0800)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:34:20 +0000 (08:34 -0800)
commit89c38bd0ade3c567707ed8fce088b253b0369c50
treeffc5bf6a8871efa8e7793c552d16ac9fb92f1334
parent060bc66dd5017460076d9e808e2198cd532c943d
ocfs2: add ocfs2_init_acl in mknod

We need to get the parent directories acls and let the new child inherit it.
To this, we add additional calculations for data/metadata allocation.

Signed-off-by: Tiger Yang <tiger.yang@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/acl.c
fs/ocfs2/acl.h
fs/ocfs2/namei.c
fs/ocfs2/xattr.c
fs/ocfs2/xattr.h