diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2010-03-03 20:13:08 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-03-03 20:13:08 +0100 |
commit | 4919c5e45a91b5db5a41695fe0357fbdff0d5767 (patch) | |
tree | 1aec0bdee83753205be2a6bbe0486db08984f938 /lib/halfmd4.c | |
parent | set S_DEAD on unlink() and non-directory rename() victims (diff) | |
download | linux-4919c5e45a91b5db5a41695fe0357fbdff0d5767.tar.xz linux-4919c5e45a91b5db5a41695fe0357fbdff0d5767.zip |
fix race in d_splice_alias()
rehashing the negative placeholder opens a race with d_lookup();
we unhash it almost immediately (by d_move()), but the race
window is there. Since d_move() doesn't rely on target being
hashed, we don't need that d_rehash() at all.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'lib/halfmd4.c')
0 files changed, 0 insertions, 0 deletions