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)
commit5f6e59ae8277cef221fdbf9b12f0c4f80db59944
treebe029e6b617f66cb314481283bd5cf6553495e76
parentd0a5b995a308347fdb1bb0412df32acd0312523b
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