Files
linux/fs/ext3
Jan Kara 8e8a21270c ext3: Fix error handling on inode bitmap corruption
commit 1415dd8705 upstream.

When insert_inode_locked() fails in ext3_new_inode() it most likely
means inode bitmap got corrupted and we allocated again inode which
is already in use. Also doing unlock_new_inode() during error recovery
is wrong since inode does not have I_NEW set. Fix the problem by jumping
to fail: (instead of fail_drop:) which declares filesystem error and
does not call unlock_new_inode().

Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-21 09:40:04 -07:00
..
2011-03-31 11:26:23 -03:00
2010-03-05 00:20:30 +01:00
2010-09-16 20:52:58 +02:00
2010-07-23 12:50:55 +02:00
2011-03-31 11:26:23 -03:00
2011-05-26 10:01:49 -06:00
2010-05-21 18:31:19 -04:00
2010-05-21 18:31:19 -04:00