Jan Kara 1415dd8705 ext3: Fix error handling on inode bitmap corruption
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>
2012-01-09 13:52:07 +01:00
..
2011-07-25 14:30:23 -04:00
2007-10-17 08:42:47 -07:00
2010-07-23 12:50:55 +02:00
2005-10-30 17:37:25 -08:00
2011-03-31 11:26:23 -03:00
2010-05-21 18:31:19 -04:00
2010-05-21 18:31:19 -04:00