]> git.kernelconcepts.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jun 2016 01:14:37 +0000 (18:14 -0700)
commitb2044c3f8310ccac10122f2fa64f8ae574b4bfef
tree98860efe6cdba2d0a875d1e6a3e6c526bf84713c
parentc5ce389844f2686564e1217c94c4c3e92fab413d
ext4: clean up error handling when orphan list is corrupted

commit 7827a7f6ebfcb7f388dc47fddd48567a314701ba upstream.

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.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ext4/ialloc.c