[PATCH] Fix dcache deadlock introduced by previous fix
authorAlexander Viro <viro@math.psu.edu>
Mon, 22 Jul 2002 03:01:53 +0000 (20:01 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Mon, 22 Jul 2002 03:01:53 +0000 (20:01 -0700)
commit8d27a6479b349d2431a114092824a52a2b1af037
tree94365badfd04686d5b6c51c7005b29d1cb8ce8f6
parent4872eaccd9c1926c2e047abd761a1076eb7c4d11
[PATCH] Fix dcache deadlock introduced by previous fix

So the fix for our problems is:

 a) in fs/namei.c replace d_unhash() with a safe version.
 b) in fs/nfs/dir.c replace d_drop(dentry) in beginning of nfs_unlink()
 with list_del_init(&dentry->d_hash);
fs/namei.c
fs/nfs/dir.c