diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2015-12-02 14:44:37 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-12-07 03:34:14 +0100 |
commit | 9172abbcd371f2f62903087bbd228f11d380b7b4 (patch) | |
tree | c9842dcce82d638b06ccdf7d0bb1e7dda17d54b5 /fs/btrfs/xattr.h | |
parent | vfs: Distinguish between full xattr names and proper prefixes (diff) | |
download | linux-9172abbcd371f2f62903087bbd228f11d380b7b4.tar.xz linux-9172abbcd371f2f62903087bbd228f11d380b7b4.zip |
btrfs: Use xattr handler infrastructure
Use the VFS xattr handler infrastructure and get rid of similar code in
the filesystem.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/btrfs/xattr.h')
-rw-r--r-- | fs/btrfs/xattr.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/xattr.h b/fs/btrfs/xattr.h index 5049608d1388..96807b3d22f5 100644 --- a/fs/btrfs/xattr.h +++ b/fs/btrfs/xattr.h @@ -28,8 +28,6 @@ extern ssize_t __btrfs_getxattr(struct inode *inode, const char *name, extern int __btrfs_setxattr(struct btrfs_trans_handle *trans, struct inode *inode, const char *name, const void *value, size_t size, int flags); -extern ssize_t btrfs_getxattr(struct dentry *dentry, const char *name, - void *buffer, size_t size); extern int btrfs_setxattr(struct dentry *dentry, const char *name, const void *value, size_t size, int flags); extern int btrfs_removexattr(struct dentry *dentry, const char *name); |