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-06 21:34:14 -0500 |
commit | 9172abbcd371f2f62903087bbd228f11d380b7b4 (patch) | |
tree | c9842dcce82d638b06ccdf7d0bb1e7dda17d54b5 /fs/btrfs/xattr.h | |
parent | 98e9cb5711c68223f0e4d5201b9a6add255ec550 (diff) | |
download | op-kernel-dev-9172abbcd371f2f62903087bbd228f11d380b7b4.zip op-kernel-dev-9172abbcd371f2f62903087bbd228f11d380b7b4.tar.gz |
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 5049608..96807b3 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); |