aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-pow.c
diff options
context:
space:
mode:
authorMiklos Szeredi <[email protected]>2012-09-17 20:31:38 +0000
committerLinus Torvalds <[email protected]>2012-09-18 18:23:51 +0000
commitb161dfa6937ae46d50adce8a7c6b12233e96e7bd (patch)
tree51ca2936e508c2c0f4a330c6dfdb1535a26eb6f9 /lib/mpi/mpi-pow.c
parentMerge branch 'for-3.6-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff)
downloadkernel-b161dfa6937ae46d50adce8a7c6b12233e96e7bd.tar.gz
kernel-b161dfa6937ae46d50adce8a7c6b12233e96e7bd.zip
vfs: dcache: use DCACHE_DENTRY_KILLED instead of DCACHE_DISCONNECTED in d_kill()
IBM reported a soft lockup after applying the fix for the rename_lock deadlock. Commit c83ce989cb5f ("VFS: Fix the nfs sillyrename regression in kernel 2.6.38") was found to be the culprit. The nfs sillyrename fix used DCACHE_DISCONNECTED to indicate that the dentry was killed. This flag can be set on non-killed dentries too, which results in infinite retries when trying to traverse the dentry tree. This patch introduces a separate flag: DCACHE_DENTRY_KILLED, which is only set in d_kill() and makes try_to_ascend() test only this flag. IBM reported successful test results with this patch. Signed-off-by: Miklos Szeredi <[email protected]> Cc: Trond Myklebust <[email protected]> Cc: [email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions