From: Al Viro Date: Wed, 13 Jul 2011 01:42:24 +0000 (-0400) Subject: fix loop checks in d_materialise_unique() X-Git-Tag: v3.0~33^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1836750115f20b774e55c032a3893e8c5bdf41ed;p=pandora-kernel.git fix loop checks in d_materialise_unique() Both __d_unalias() and __d_materialise_dentry() need loop prevention. Grab rename_lock in caller, check for loops there... As a side benefit, we have dentry_lock_for_move() called only under rename_lock, which seriously reduces deadlock potential of the execrable "locking order" used for ->d_lock. Signed-off-by: Al Viro --- Reading git-diff-tree failed