Files
android_kernel_xiaomi_sm8450/fs/btrfs
Stefan Behrens cb3806ec88 Btrfs: fix race in check-integrity caused by usage of bitfield
The structure member mirror_num is modified concurrently to the
structure member is_iodone. This doesn't require any locking by
design, unless everything is stored in the same 32 bits of a
bit field. This was the case and xfstest 284 was able to
trigger false warnings from the checker code. This patch
seperates the bits and fixes the race.

Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
2012-12-16 20:46:13 -05:00
..
2012-12-12 17:15:24 -05:00
2012-05-29 23:28:33 -04:00
2008-09-25 11:04:06 -04:00
2012-12-16 20:46:12 -05:00
2012-10-09 09:14:45 -04:00
2012-10-09 09:14:45 -04:00
2011-06-17 14:54:18 -04:00
2012-10-01 15:18:53 -04:00
2012-10-01 15:18:53 -04:00
2012-12-16 20:46:07 -05:00
2012-10-09 09:19:57 -04:00