diff options
author | Tiger Yang <tiger.yang@oracle.com> | 2008-11-13 22:17:41 -0500 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2009-01-05 11:34:20 -0500 |
commit | 89c38bd0ade3c567707ed8fce088b253b0369c50 (patch) | |
tree | ffc5bf6a8871efa8e7793c552d16ac9fb92f1334 /fs/ocfs2/xattr.h | |
parent | 060bc66dd5017460076d9e808e2198cd532c943d (diff) |
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>
Diffstat (limited to 'fs/ocfs2/xattr.h')
-rw-r--r-- | fs/ocfs2/xattr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ocfs2/xattr.h b/fs/ocfs2/xattr.h index 6163df336d8c..9a67e7d8f812 100644 --- a/fs/ocfs2/xattr.h +++ b/fs/ocfs2/xattr.h | |||
@@ -66,5 +66,8 @@ int ocfs2_init_security_set(handle_t *, struct inode *, | |||
66 | int ocfs2_calc_security_init(struct inode *, | 66 | int ocfs2_calc_security_init(struct inode *, |
67 | struct ocfs2_security_xattr_info *, | 67 | struct ocfs2_security_xattr_info *, |
68 | int *, int *, struct ocfs2_alloc_context **); | 68 | int *, int *, struct ocfs2_alloc_context **); |
69 | int ocfs2_calc_xattr_init(struct inode *, struct buffer_head *, | ||
70 | int, struct ocfs2_security_xattr_info *, | ||
71 | int *, int *, struct ocfs2_alloc_context **); | ||
69 | 72 | ||
70 | #endif /* OCFS2_XATTR_H */ | 73 | #endif /* OCFS2_XATTR_H */ |