ubifs: Switch to generic xattr handlers
authorAndreas Gruenbacher <agruenba@redhat.com>
Fri, 22 Apr 2016 17:14:00 +0000 (19:14 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 17 May 2016 23:16:23 +0000 (19:16 -0400)
commit2b88fc21cae91e925bc5e361e6ea67467b471da5
tree9cbaba92215c6952f39189c14d82a78e9d233394
parentc8b6056a504fa384f36e7577fc5a1c1684fcf18a
ubifs: Switch to generic xattr handlers

Ubifs internally uses special inodes for storing xattrs. Those inodes
had NULL {get,set,remove}xattr inode operations before this change, so
xattr operations on them would fail. The super block's s_xattr field
would also apply to those special inodes. However, the inodes are not
visible outside of ubifs, and so no xattr operations will ever be
carried out on them anyway.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ubifs/dir.c
fs/ubifs/file.c
fs/ubifs/super.c
fs/ubifs/ubifs.h
fs/ubifs/xattr.c