]> git.baikalelectronics.ru Git - kernel.git/commit
vfs: Use IOP_XATTR flag for bad-inode handling
authorAndreas Gruenbacher <agruenba@redhat.com>
Thu, 29 Sep 2016 15:48:40 +0000 (17:48 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 8 Oct 2016 00:10:43 +0000 (20:10 -0400)
commit6d24290c618458c354a555de3854045674df66ed
treebe029e6b617f66cb314481283bd5cf6553495e76
parent06c3e3fd1bfc88b3612a5d2cb66392f3f9c36448
vfs: Use IOP_XATTR flag for bad-inode handling

With this change, all the xattr handler based operations will produce an
-EIO result for bad inodes, and we no longer only depend on inode->i_op
to be set to bad_inode_ops.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/bad_inode.c
fs/xattr.c