summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorRitesh Harjani <riteshh@linux.ibm.com>2021-05-30 20:24:05 +0530
committerDavid Sterba <dsterba@suse.com>2021-06-04 13:11:58 +0200
commite7b2ec3d3d4ebeb4cff7ae45cf430182fa6a49fb (patch)
tree28931c65e53f4fa557f4aca5f8ddc426aca340a8 /fs/btrfs/disk-io.c
parent5b434df8778771d181bc19fb4593bca114d1c4eb (diff)
downloadlinux-e7b2ec3d3d4ebeb4cff7ae45cf430182fa6a49fb.tar.bz2
btrfs: return value from btrfs_mark_extent_written() in case of error
We always return 0 even in case of an error in btrfs_mark_extent_written(). Fix it to return proper error value in case of a failure. All callers handle it. CC: stable@vger.kernel.org # 4.4+ Signed-off-by: Ritesh Harjani <riteshh@linux.ibm.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
0 files changed, 0 insertions, 0 deletions