summaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
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 11:34:52 +0200
commit39b6d3368d30048123d963543b64452c0ac63afb (patch)
treee034f9233c98db076785e36865e4d0020118cd2f /lib/memory-notifier-error-inject.c
parent3098b86390a6b9ea52657689f08410baf130ceff (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 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions