summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorRitesh Harjani <riteshh@linux.ibm.com>2021-05-30 20:24:05 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-06-16 12:01:40 +0200
commitca69dc891b2875e73cf55defaf06bad27c44573c (patch)
tree9767357fe57e686ac3d920493c3c12f61e282ba8 /kernel
parentbf240fee5b341fbc68615f04892af274e7abf8b3 (diff)
btrfs: return value from btrfs_mark_extent_written() in case of error
commit e7b2ec3d3d4ebeb4cff7ae45cf430182fa6a49fb upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions