aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins
diff options
context:
space:
mode:
authorJeff Mahoney <[email protected]>2017-12-04 18:11:45 +0000
committerDavid Sterba <[email protected]>2017-12-06 23:30:29 +0000
commite19182c0fff451e3744c1107d98f072e7ca377a0 (patch)
treef5bebc158558c68be9852748be356be134f6175d /scripts/gcc-plugins
parentbtrfs: handle errors while updating refcounts in update_ref_for_cow (diff)
downloadkernel-e19182c0fff451e3744c1107d98f072e7ca377a0.tar.gz
kernel-e19182c0fff451e3744c1107d98f072e7ca377a0.zip
btrfs: fix missing error return in btrfs_drop_snapshot
If btrfs_del_root fails in btrfs_drop_snapshot, we'll pick up the error but then return 0 anyway due to mixing err and ret. Fixes: 79787eaab4612 ("btrfs: replace many BUG_ONs with proper error handling") Cc: <[email protected]> # v3.4+ Signed-off-by: Jeff Mahoney <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions