summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2014-10-06 04:56:00 +0200
committerTheodore Ts'o <tytso@mit.edu>2014-10-06 04:56:00 +0200
commitf4bb2981024fc91b23b4d09a8817c415396dbabb (patch)
tree7645d062e8808ab71b81b542c388e47d8b78b35f /arch
parentext4: don't orphan or truncate the boot loader inode (diff)
downloadlinux-f4bb2981024fc91b23b4d09a8817c415396dbabb.tar.xz
linux-f4bb2981024fc91b23b4d09a8817c415396dbabb.zip
ext4: add ext4_iget_normal() which is to be used for dir tree lookups
If there is a corrupted file system which has directory entries that point at reserved, metadata inodes, prohibit them from being used by treating them the same way we treat Boot Loader inodes --- that is, mark them to be bad inodes. This prohibits them from being opened, deleted, or modified via chmod, chown, utimes, etc. In particular, this prevents a corrupted file system which has a directory entry which points at the journal inode from being deleted and its blocks released, after which point Much Hilarity Ensues. Reported-by: Sami Liedes <sami.liedes@iki.fi> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Cc: stable@vger.kernel.org
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions