aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/xattr.h
diff options
context:
space:
mode:
authorTiger Yang <tiger.yang@oracle.com>2008-11-13 22:16:03 -0500
committerMark Fasheh <mfasheh@suse.com>2009-01-05 11:34:19 -0500
commit6c3faba4421e230d77a181c260972229c542dec9 (patch)
treea36c271b5cd82a696cac6b3c774d62fddb997801 /fs/ocfs2/xattr.h
parentf5d362022a947e84b0a3dd656d09c6b2322e234f (diff)
ocfs2: add ocfs2_xattr_set_handle
This function is used to set xattr's in a started transaction. It is only called during inode creation inode for initial security/acl xattrs of the new inode. These xattrs could be put into ibody or extent block, so xattr bucket would not be use in this case. 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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/ocfs2/xattr.h b/fs/ocfs2/xattr.h
index 1d8314c7656d..8fbdc163c839 100644
--- a/fs/ocfs2/xattr.h
+++ b/fs/ocfs2/xattr.h
@@ -37,6 +37,10 @@ extern struct xattr_handler *ocfs2_xattr_handlers[];
37ssize_t ocfs2_listxattr(struct dentry *, char *, size_t); 37ssize_t ocfs2_listxattr(struct dentry *, char *, size_t);
38int ocfs2_xattr_set(struct inode *, int, const char *, const void *, 38int ocfs2_xattr_set(struct inode *, int, const char *, const void *,
39 size_t, int); 39 size_t, int);
40int ocfs2_xattr_set_handle(handle_t *, struct inode *, struct buffer_head *,
41 int, const char *, const void *, size_t, int,
42 struct ocfs2_alloc_context *,
43 struct ocfs2_alloc_context *);
40int ocfs2_xattr_remove(struct inode *, struct buffer_head *); 44int ocfs2_xattr_remove(struct inode *, struct buffer_head *);
41 45
42#endif /* OCFS2_XATTR_H */ 46#endif /* OCFS2_XATTR_H */