linux_dsm_epyc7002/fs/ext4
Theodore Ts'o 813e57276f ext4: fix race when setting bitmap_uptodate flag
In ext4_read_{inode,block}_bitmap() we were setting bitmap_uptodate()
before submitting the buffer for read.  The is bad, since we check
bitmap_uptodate() without locking the buffer, and so if another
process is racing with us, it's possible that they will think the
bitmap is uptodate even though the read has not completed yet,
resulting in inodes and blocks potentially getting allocated more than
once if we get really unlucky.

Addresses-Google-Bug: 2828254

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-02-20 17:52:46 -05:00
..
acl.c
acl.h
balloc.c ext4: fix race when setting bitmap_uptodate flag 2012-02-20 17:52:46 -05:00
bitmap.c
block_validity.c ext2/3/4: delete unneeded includes of module.h 2012-01-09 13:52:10 +01:00
dir.c
ext4_extents.h
ext4_jbd2.c
ext4_jbd2.h
ext4.h ext4: fix race when setting bitmap_uptodate flag 2012-02-20 17:52:46 -05:00
extents.c Merge branch 'for_linus' into for_linus_merged 2012-01-10 11:54:07 -05:00
file.c
fsync.c
hash.c
ialloc.c ext4: fix race when setting bitmap_uptodate flag 2012-02-20 17:52:46 -05:00
indirect.c ext2/3/4: delete unneeded includes of module.h 2012-01-09 13:52:10 +01:00
inode.c Merge branch 'for_linus' into for_linus_merged 2012-01-10 11:54:07 -05:00
ioctl.c Merge branch 'for_linus' into for_linus_merged 2012-01-10 11:54:07 -05:00
Kconfig
Makefile
mballoc.c ext4: fix race when setting bitmap_uptodate flag 2012-02-20 17:52:46 -05:00
mballoc.h
migrate.c ext2/3/4: delete unneeded includes of module.h 2012-01-09 13:52:10 +01:00
mmp.c
move_extent.c
namei.c ext[34]: avoid i_nlink warnings triggered by drop_nlink/inc_nlink kludge in symlink() 2012-01-08 20:19:30 -05:00
page-io.c Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs 2012-01-09 12:51:21 -08:00
resize.c ext4: let ext4_group_add() use common code 2012-01-04 17:09:50 -05:00
super.c Merge branch 'for_linus' into for_linus_merged 2012-01-10 11:54:07 -05:00
symlink.c
truncate.h
xattr_security.c Merge branch 'for_linus' into for_linus_merged 2012-01-10 11:54:07 -05:00
xattr_trusted.c ext2/3/4: delete unneeded includes of module.h 2012-01-09 13:52:10 +01:00
xattr_user.c ext2/3/4: delete unneeded includes of module.h 2012-01-09 13:52:10 +01:00
xattr.c
xattr.h