Skip to content
Commit 9c3e9025 authored by Al Viro's avatar Al Viro
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 7b745a4e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment