don't bother with most of the bad_file_ops methods
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 4 Feb 2015 21:02:09 +0000 (16:02 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 20 Feb 2015 09:03:58 +0000 (04:03 -0500)
commitdb671a8ecd764baf76a698b8366603a147880734
tree6cc43ff5997fc9c9382b6bc1ebb35d4c95a04838
parent28444a2bde8d1695447eb51362b46cf1e49b9c21
don't bother with most of the bad_file_ops methods

Only ->open() should be there (always failing, of course).  We never
replace ->f_op of an already opened struct file, so there's no way
for any of those methods to be called.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/bad_inode.c