btrfs: Use xattr handler infrastructure
authorAndreas Gruenbacher <agruenba@redhat.com>
Wed, 2 Dec 2015 13:44:37 +0000 (14:44 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 7 Dec 2015 02:34:14 +0000 (21:34 -0500)
commit9172abbcd371f2f62903087bbd228f11d380b7b4
treec9842dcce82d638b06ccdf7d0bb1e7dda17d54b5
parent98e9cb5711c68223f0e4d5201b9a6add255ec550
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>
fs/btrfs/inode.c
fs/btrfs/xattr.c
fs/btrfs/xattr.h