diff options
| author | 2020-12-16 11:22:17 -0500 | |
|---|---|---|
| committer | 2021-01-18 16:00:11 +0100 | |
| commit | 34d1eb0e599875064955a74712f08ff14c8e3d5f (patch) | |
| tree | 406929a9427896a1b47fe88526aa6e161d70bb9a /scripts/patch-kernel | |
| parent | btrfs: fix lockdep splat in btrfs_recover_relocation (diff) | |
| download | wireguard-linux-34d1eb0e599875064955a74712f08ff14c8e3d5f.tar.xz wireguard-linux-34d1eb0e599875064955a74712f08ff14c8e3d5f.zip | |
btrfs: don't clear ret in btrfs_start_dirty_block_groups
If we fail to update a block group item in the loop we'll break, however
we'll do btrfs_run_delayed_refs and lose our error value in ret, and
thus not clean up properly. Fix this by only running the delayed refs
if there was no failure.
CC: stable@vger.kernel.org # 4.4+
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
