fuse: Use generic xattr ops
authorSeth Forshee <seth.forshee@canonical.com>
Mon, 29 Aug 2016 13:46:36 +0000 (08:46 -0500)
committerMiklos Szeredi <mszeredi@redhat.com>
Sat, 1 Oct 2016 05:32:32 +0000 (07:32 +0200)
commit703c73629f93464ce210f5ad92d0c1fb95bfbadf
treecec5f07b331dbce6f7189e474ef730d9d33236ac
parentcb3ae6d25a5471be62bfe6ac1fccc0e91edeaba0
fuse: Use generic xattr ops

In preparation for posix acl support, rework fuse to use xattr handlers and
the generic setxattr/getxattr/listxattr callbacks.  Split the xattr code
out into it's own file, and promote symbols to module-global scope as
needed.

Functionally these changes have no impact, as fuse still uses a single
handler for all xattrs which uses the old callbacks.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/Makefile
fs/fuse/dir.c
fs/fuse/fuse_i.h
fs/fuse/inode.c
fs/fuse/xattr.c [new file with mode: 0644]