aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/xattr.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2018-02-27 15:48:59 +0100
committerDavid Sterba <dsterba@suse.com>2018-03-26 15:09:41 +0200
commit738c93d42c277d790cd49372c9bf24bcfea13306 (patch)
treeaeb798b151f041d1f61e9981ab06cd5373e3aeb9 /fs/btrfs/xattr.h
parentbtrfs: adjust return type of btrfs_getxattr (diff)
downloadlinux-dev-738c93d42c277d790cd49372c9bf24bcfea13306.tar.xz
linux-dev-738c93d42c277d790cd49372c9bf24bcfea13306.zip
btrfs: move btrfs_listxattr prototype to xattr.h
There's a proper header for xattr handlers. Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/xattr.h')
-rw-r--r--fs/btrfs/xattr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/xattr.h b/fs/btrfs/xattr.h
index 57c638730617..e215a3212a2a 100644
--- a/fs/btrfs/xattr.h
+++ b/fs/btrfs/xattr.h
@@ -28,6 +28,7 @@ int btrfs_getxattr(struct inode *inode, const char *name,
int btrfs_setxattr(struct btrfs_trans_handle *trans,
struct inode *inode, const char *name,
const void *value, size_t size, int flags);
+ssize_t btrfs_listxattr(struct dentry *dentry, char *buffer, size_t size);
int btrfs_xattr_security_init(struct btrfs_trans_handle *trans,
struct inode *inode, struct inode *dir,