summaryrefslogtreecommitdiff
path: root/fs/ocfs2/xattr.h
diff options
context:
space:
mode:
authorTiger Yang <tiger.yang@oracle.com>2008-11-14 06:16:03 +0300
committerMark Fasheh <mfasheh@suse.com>2009-01-05 19:34:19 +0300
commit6c3faba4421e230d77a181c260972229c542dec9 (patch)
treea36c271b5cd82a696cac6b3c774d62fddb997801 /fs/ocfs2/xattr.h
parentf5d362022a947e84b0a3dd656d09c6b2322e234f (diff)
downloadlinux-6c3faba4421e230d77a181c260972229c542dec9.tar.xz
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[];
ssize_t ocfs2_listxattr(struct dentry *, char *, size_t);
int ocfs2_xattr_set(struct inode *, int, const char *, const void *,
size_t, int);
+int ocfs2_xattr_set_handle(handle_t *, struct inode *, struct buffer_head *,
+ int, const char *, const void *, size_t, int,
+ struct ocfs2_alloc_context *,
+ struct ocfs2_alloc_context *);
int ocfs2_xattr_remove(struct inode *, struct buffer_head *);
#endif /* OCFS2_XATTR_H */