commit | c08782dacd7a098f2b8bca7f4a57a5b402e9e1e5 | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.cz> | Thu Jan 26 15:01:12 2012 -0500 |
committer | David Sterba <dsterba@suse.cz> | Wed Feb 15 16:40:25 2012 +0100 |
tree | f86a4875ac874cd3ddd0cc2eae85701e87105a72 | |
parent | 87826df0ec36fc28884b4ddbb3f3af41c4c2008f [diff] |
btrfs: fix structs where bitfields and spinlock/atomic share 8B word On ia64, powerpc64 and sparc64 the bitfield is modified through a RMW cycle and current gcc rewrites the adjacent 4B word, which in case of a spinlock or atomic has disaterous effect. https://lkml.org/lkml/2012/2/1/220 Signed-off-by: David Sterba <dsterba@suse.cz>