Btrfs: correctly set profile flags on seqlock retry
authorFilipe Manana <fdmanana@gmail.com>
Thu, 24 Apr 2014 14:15:29 +0000 (15:15 +0100)
committerChris Mason <clm@fb.com>
Thu, 24 Apr 2014 23:43:33 +0000 (16:43 -0700)
commitf8213bdc89719bad895a02c62c4a85066ff76720
treebae57bba7903618c8831d860474fb6052bb90310
parent9ce49a0b4ff7f13961d8d106ffae959823d2e758
Btrfs: correctly set profile flags on seqlock retry

If we had to retry on the profiles seqlock (due to a concurrent write), we
would set bits on the input flags that corresponded both to the current
profile and to previous values of the profile.

Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/extent-tree.c