• Al Viro's avatar
    fix race in d_splice_alias() · 4919c5e4
    Al Viro authored
    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: default avatarAl Viro <viro@zeniv.linux.org.uk>
    4919c5e4
dcache.c 59.6 KB