]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit654a72aac722437c12e46edc9335790e94dbbd5c
tree9cbaba92215c6952f39189c14d82a78e9d233394
parentae0453570758ea4c8fd24947361b127a43e0d07f
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