aboutsummaryrefslogtreecommitdiffstats
path: root/fs/compat.c
diff options
context:
space:
mode:
authorAndreas Dilger <adilger@dilger.ca>2012-05-28 17:02:25 -0400
committerTheodore Ts'o <tytso@mit.edu>2012-05-28 17:02:25 -0400
commit7e936b737211e6b54e34b71a827e56b872e958d8 (patch)
treeaca4b57eb1982d2cd21bcaa0cbabc45500f97026 /fs/compat.c
parentext4: fix potential integer overflow in alloc_flex_gd() (diff)
downloadlinux-dev-7e936b737211e6b54e34b71a827e56b872e958d8.tar.xz
linux-dev-7e936b737211e6b54e34b71a827e56b872e958d8.zip
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
Diffstat (limited to 'fs/compat.c')
0 files changed, 0 insertions, 0 deletions