2005-01-28 15:59:38

by Jan Blunck

[permalink] [raw]
Subject: [PATCH] d_drop should use per dentry lock

d_drop() must use the dentry->d_lock spinlock. In some cases __d_drop()
was used without holding the dentry->d_lock spinlock, too. This could
end in a race with __d_lookup().

Regards,
Jan


Attachments:
d_drop-locking.diff (3.90 kB)