commit | 1fe0c0230a7c2d5f4061e681a3f3be9512446d23 | [log] [tgz] |
---|---|---|
author | Alan Cox <alan@linux.intel.com> | Wed Sep 19 15:49:51 2012 +0100 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed Sep 26 22:20:19 2012 -0400 |
tree | 611103e01c1bc579436d376176a69cf4d903c6f5 | |
parent | 2903ff019b346ab8d36ebbf54853c3aaf6590608 [diff] |
vfs: delete surplus inode NULL check Each iteration of d_delete we reload inode from dentry->d_inode and then call S_ISDIR(inode-i_mode), so inode cannot possibly be NULL shortly afterwards unless something went horribly wrong. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>