• Andrew Morton's avatar
    [PATCH] dentry->d_count fixes: hpfs · 06171a48
    Andrew Morton authored
    From: Maneesh Soni <maneesh@in.ibm.com>
    
    - hpfs_unlink() can race with lockless d_lookup(), as we can have situations
      where d_lookup() has successfully looked-up a dentry and at the sametime
      hpfs_unlink()--->d_drop() has dropped it. Taking the per dentry lock
      before checking the d_count in hpfs_unlink() solves this race condition.
    06171a48
namei.c 16.2 KB