summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/xattr.h
diff options
context:
space:
mode:
authorTiger Yang2008-11-14 04:16:53 +0100
committerMark Fasheh2009-01-05 17:34:20 +0100
commit4e3e9d027f63488e676bf7700ec515a192e54f69 (patch)
tree5726c86a7460dcb8acbc9effe3236050105495da /fs/ocfs2/xattr.h
parentocfs2: add ocfs2_init_security in during file create (diff)
downloadkernel-qcow2-linux-4e3e9d027f63488e676bf7700ec515a192e54f69.tar.gz
kernel-qcow2-linux-4e3e9d027f63488e676bf7700ec515a192e54f69.tar.xz
kernel-qcow2-linux-4e3e9d027f63488e676bf7700ec515a192e54f69.zip
ocfs2: add ocfs2_xattr_get_nolock
This function does the work of ocfs2_xattr_get under an open lock. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ocfs2/xattr.h b/fs/ocfs2/xattr.h
index 188ef6ba6836..86aa10ffe3f3 100644
--- a/fs/ocfs2/xattr.h
+++ b/fs/ocfs2/xattr.h
@@ -43,6 +43,8 @@ extern struct xattr_handler ocfs2_xattr_security_handler;
extern struct xattr_handler *ocfs2_xattr_handlers[];
ssize_t ocfs2_listxattr(struct dentry *, char *, size_t);
+int ocfs2_xattr_get_nolock(struct inode *, struct buffer_head *, int,
+ const char *, void *, 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 *,