]> git.baikalelectronics.ru Git - kernel.git/commit
isofs check for NULL ->i_op in root directory is dead code
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 4 Dec 2008 14:57:25 +0000 (09:57 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 5 Jan 2009 16:53:38 +0000 (11:53 -0500)
commit75b07f2a98d251a72d15196e78bfaea3913137e5
tree3186a2d9c09695f1be9c10d3e58e2f0ccc4357c6
parent7bb11357abeae3b0ff8996db20130f2e07ff29fd
isofs check for NULL ->i_op in root directory is dead code

for one thing it never happens, for another we check that inode
is a directory right after that place anyway (and we'd already
checked that reading it from disk has not failed).

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