aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/btrfs/tree-log.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2023-01-26 16:00:57 -0500
committerDavid Sterba <dsterba@suse.com>2023-02-15 19:38:53 +0100
commitf88fd6504329ca8de0a04b6214e932c46746800d (patch)
treefbde5225e618d6b02e106be9815ddb6281e8f9bd /fs/btrfs/tree-log.c
parentbtrfs: replace clearing extent buffer dirty bit with btrfs_clean_block (diff)
downloadwireguard-linux-f88fd6504329ca8de0a04b6214e932c46746800d.tar.xz
wireguard-linux-f88fd6504329ca8de0a04b6214e932c46746800d.zip
btrfs: do not increment dirty_metadata_bytes in set_btree_ioerr
We only add if we set the extent buffer dirty, and we subtract when we clear the extent buffer dirty. If we end up in set_btree_ioerr we have already cleared the buffer dirty, and we aren't resetting dirty on the extent buffer, so this is simply wrong. 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 '')
0 files changed, 0 insertions, 0 deletions