diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2018-05-10 22:59:45 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2018-05-21 14:30:10 -0400 |
commit | 9c3e9025a3f7ed25c99a0add8af65431c8043800 (patch) | |
tree | d8f892f5750d1aea00dcef9d9f7ea1719f11a6ce /fs/cachefiles/daemon.c | |
parent | 7b745a4e4051e1bbce40e0b1c2cf636c70583aa4 (diff) | |
download | blackbird-op-linux-9c3e9025a3f7ed25c99a0add8af65431c8043800.tar.gz blackbird-op-linux-9c3e9025a3f7ed25c99a0add8af65431c8043800.zip |
cachefiles: vfs_mkdir() might succeed leaving dentry negative unhashed
That can (and does, on some filesystems) happen - ->mkdir() (and thus
vfs_mkdir()) can legitimately leave its argument negative and just
unhash it, counting upon the lookup to pick the object we'd created
next time we try to look at that name.
Some vfs_mkdir() callers forget about that possibility...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/cachefiles/daemon.c')
0 files changed, 0 insertions, 0 deletions