]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ext4: clean up error handling when orphan list is corrupted
authorTheodore Ts'o <tytso@mit.edu>
Sat, 30 Apr 2016 04:49:54 +0000 (00:49 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 30 Apr 2016 04:49:54 +0000 (00:49 -0400)
commit7827a7f6ebfcb7f388dc47fddd48567a314701ba
tree0d5e3e7f7078ebb7c8080d60952f0fd407984ea8
parentc9eb13a9105e2e418f72e46a2b6da3f49e696902
ext4: clean up error handling when orphan list is corrupted

Instead of just printing warning messages, if the orphan list is
corrupted, declare the file system is corrupted.  If there are any
reserved inodes in the orphaned inode list, declare the file system
corrupted and stop right away to avoid doing more potential damage to
the file system.

Cc: stable@vger.kernel.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ialloc.c