]> git.baikalelectronics.ru Git - 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)
commitd221386c67ce377f05a068dd26eb4f418433fc72
tree0d5e3e7f7078ebb7c8080d60952f0fd407984ea8
parent2a68270cfc5422ef57b1d21e7b79dbbf0bf68a1f
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