diff options
author | 2012-09-19 15:49:51 +0100 | |
---|---|---|
committer | 2012-09-26 22:20:19 -0400 | |
commit | 1fe0c0230a7c2d5f4061e681a3f3be9512446d23 (patch) | |
tree | 611103e01c1bc579436d376176a69cf4d903c6f5 /tools/perf/scripts/python/sched-migration.py | |
parent | switch simple cases of fget_light to fdget (diff) | |
download | linux-dev-1fe0c0230a7c2d5f4061e681a3f3be9512446d23.tar.xz linux-dev-1fe0c0230a7c2d5f4061e681a3f3be9512446d23.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions