diff options
author | Filipe David Borba Manana <fdmanana@gmail.com> | 2013-08-16 14:23:33 (GMT) |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-09-01 12:16:00 (GMT) |
commit | 633085c79c84c391732caa40f5b3a3d2b299f7be (patch) | |
tree | 93e64ecb2d2bbc58da63c859bd736ccc83fdbbd3 /net/netrom | |
parent | f420ee1e923b931eeef5e2928791e84b1197cab3 (diff) | |
download | linux-fsl-qoriq-633085c79c84c391732caa40f5b3a3d2b299f7be.tar.xz |
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 <fdmanana@gmail.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'net/netrom')
0 files changed, 0 insertions, 0 deletions