summaryrefslogtreecommitdiffstats
path: root/Documentation/magic-number.txt
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-05-08 01:24:57 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2015-05-09 06:12:35 +0200
commit766c4cbfacd8634d7580bac6a1b8456e63de3e84 (patch)
tree0bdde729de49ac95858f5429b40419b643fcc1cb /Documentation/magic-number.txt
parentLinux 4.1-rc2 (diff)
downloadlinux-766c4cbfacd8634d7580bac6a1b8456e63de3e84.tar.xz
linux-766c4cbfacd8634d7580bac6a1b8456e63de3e84.zip
namei: d_is_negative() should be checked before ->d_seq validation
Fetching ->d_inode, verifying ->d_seq and finding d_is_negative() to be true does *not* mean that inode we'd fetched had been NULL - that holds only while ->d_seq is still unchanged. Shift d_is_negative() checks into lookup_fast() prior to ->d_seq verification. Reported-by: Steven Rostedt <rostedt@goodmis.org> Tested-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'Documentation/magic-number.txt')
0 files changed, 0 insertions, 0 deletions