]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc3c3696ae764842a6438c4903afa6dffe7ab3745
tree6cc43ff5997fc9c9382b6bc1ebb35d4c95a04838
parent5d4056d337f9cb247693670db66a96e90017079f
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