From: David Sterba Date: Thu, 26 Jan 2012 20:01:12 +0000 (-0500) Subject: btrfs: fix structs where bitfields and spinlock/atomic share 8B word X-Git-Tag: v3.3-rc5~9^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c08782dacd7a098f2b8bca7f4a57a5b402e9e1e5;p=pandora-kernel.git 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 --- Reading git-diff-tree failed