commit | 7e936b737211e6b54e34b71a827e56b872e958d8 | [log] [tgz] |
---|---|---|
author | Andreas Dilger <adilger@dilger.ca> | Mon May 28 17:02:25 2012 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon May 28 17:02:25 2012 -0400 |
tree | aca4b57eb1982d2cd21bcaa0cbabc45500f97026 | |
parent | 967ac8af4475ce45474800709b12137aa7634c77 [diff] |
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 <adilger@dilger.ca> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Cc: stable@kernel.org