]> 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)
commitca6bd0807e83b61e11e04845561ce6933bad4fa3
tree9cbaba92215c6952f39189c14d82a78e9d233394
parent59b4dfabc21cb301fd64ee041d294435a7802c64
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