diff options
author | Frederic Bohe <frederic.bohe@bull.net> | 2008-11-16 11:05:40 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-12-05 10:55:46 -0800 |
commit | 6e1ad219f708c0d92061ca7cc483b200f9a2e892 (patch) | |
tree | 8b6efdeeaacf7d2ae134b33b09833ea050a62bba /drivers/message/fusion/lsi/mpi_raid.h | |
parent | 7cd10cb101e006e5beb4f3da3826727ed5ef85f8 (diff) |
ext4: add checksum calculation when clearing UNINIT flag in ext4_new_inode
(cherry picked from commit 23712a9c28b9f80a8cf70c8490358d5f562d2465)
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/message/fusion/lsi/mpi_raid.h')
0 files changed, 0 insertions, 0 deletions