aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorFilipe David Borba Manana <[email protected]>2013-08-16 14:23:33 +0000
committerChris Mason <[email protected]>2013-09-01 12:16:00 +0000
commit633085c79c84c391732caa40f5b3a3d2b299f7be (patch)
tree93e64ecb2d2bbc58da63c859bd736ccc83fdbbd3 /fs/btrfs/dev-replace.c
parentBtrfs: add mount option to force UUID tree checking (diff)
downloadkernel-633085c79c84c391732caa40f5b3a3d2b299f7be.tar.gz
kernel-633085c79c84c391732caa40f5b3a3d2b299f7be.zip
Btrfs: reset force_compress on btrfs_file_defrag failure
After we set force_compress with a new value (which was not being done while holding the inode mutex), if an error happens and we jump to the label out_ra, the force_compress property of the inode is not set to BTRFS_COMPRESS_NONE (unlike in the case where no errors happen). Signed-off-by: Filipe David Borba Manana <[email protected]> Signed-off-by: Josef Bacik <[email protected]> Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions