commit | 9c3e9025a3f7ed25c99a0add8af65431c8043800 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Thu May 10 22:59:45 2018 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Mon May 21 14:30:10 2018 -0400 |
tree | d8f892f5750d1aea00dcef9d9f7ea1719f11a6ce | |
parent | 7b745a4e4051e1bbce40e0b1c2cf636c70583aa4 [diff] |
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>