Frederic Bohe 23712a9c28 ext4: add checksum calculation when clearing UNINIT flag in ext4_new_inode
When initializing an uninitialized block group in ext4_new_inode(),
its block group checksum must be re-calculated.  This fixes a race
when several threads try to allocate a new inode in an UNINIT'd group.

There is some question whether we need to be initializing the block
bitmap in ext4_new_inode() at all, but for now, if we are going to
init the block group, let's eliminate the race.

Signed-off-by: Frederic Bohe <frederic.bohe@bull.net>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-11-07 09:21:01 -05:00
..
2008-10-10 20:02:48 -04:00
2008-10-10 20:02:48 -04:00
2008-10-10 20:02:48 -04:00
2008-10-10 20:29:21 -04:00
2008-10-10 20:02:48 -04:00
2008-10-10 20:02:48 -04:00
2008-10-10 20:02:48 -04:00
2008-10-10 20:02:48 -04:00