diff options
author | Tiger Yang <tiger.yang@oracle.com> | 2008-11-13 22:16:53 -0500 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2009-01-05 11:34:20 -0500 |
commit | 4e3e9d027f63488e676bf7700ec515a192e54f69 (patch) | |
tree | 5726c86a7460dcb8acbc9effe3236050105495da /fs/ocfs2/xattr.h | |
parent | 534eadddc1de8754a227202c0e747af4973f82ce (diff) |
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.h | 2 |
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; | |||
43 | extern struct xattr_handler *ocfs2_xattr_handlers[]; | 43 | extern struct xattr_handler *ocfs2_xattr_handlers[]; |
44 | 44 | ||
45 | ssize_t ocfs2_listxattr(struct dentry *, char *, size_t); | 45 | ssize_t ocfs2_listxattr(struct dentry *, char *, size_t); |
46 | int ocfs2_xattr_get_nolock(struct inode *, struct buffer_head *, int, | ||
47 | const char *, void *, size_t); | ||
46 | int ocfs2_xattr_set(struct inode *, int, const char *, const void *, | 48 | int ocfs2_xattr_set(struct inode *, int, const char *, const void *, |
47 | size_t, int); | 49 | size_t, int); |
48 | int ocfs2_xattr_set_handle(handle_t *, struct inode *, struct buffer_head *, | 50 | int ocfs2_xattr_set_handle(handle_t *, struct inode *, struct buffer_head *, |