From: Andreas Dilger Date: Mon, 28 May 2012 21:02:25 +0000 (-0400) Subject: ext4: disallow hard-linked directory in ext4_lookup X-Git-Tag: v3.5-rc1~16^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e936b737211e6b54e34b71a827e56b872e958d8;p=pandora-kernel.git ext4: disallow hard-linked directory in ext4_lookup A hard-linked directory to its parent can cause the VFS to deadlock, and is a sign of a corrupted file system. So detect this case in ext4_lookup(), before the rmdir() lockup scenario can take place. Signed-off-by: Andreas Dilger Signed-off-by: "Theodore Ts'o" Cc: stable@kernel.org --- Reading git-diff-tree failed