Files
linux/fs
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
2011-03-31 11:26:23 -03:00
2011-05-19 16:55:28 +09:30
2011-07-17 23:20:29 -04:00
2011-12-21 12:57:44 -08:00
2011-11-11 09:35:59 -08:00
2011-06-20 17:53:24 -05:00
2012-04-27 09:51:18 -07:00
2012-05-21 09:40:04 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-14 16:06:56 -07:00
2011-07-17 23:21:35 -04:00
2012-03-19 08:57:43 -07:00
2011-07-06 12:15:16 -07:00
2012-04-27 09:51:09 -07:00
2011-07-06 10:41:13 -07:00
2011-05-26 10:01:43 -06:00
2011-06-03 18:24:58 -04:00