]> git.ipfire.org Git - thirdparty/linux.git/commit
btrfs: remove now unneeded btrfs_redirty_list_add
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Thu, 23 Nov 2023 15:47:17 +0000 (07:47 -0800)
committerDavid Sterba <dsterba@suse.com>
Fri, 15 Dec 2023 19:27:03 +0000 (20:27 +0100)
commit2aae747a4938c2c3c398ff55aa2ddaf51b135899
tree70461a07f3ca98064e530bb5e32a1ba5c2b93e7f
parentaa6313e6ff2bfbf736a2739047bba355d8241584
btrfs: remove now unneeded btrfs_redirty_list_add

Now that we're not clearing the dirty flag off of extent_buffers in zoned mode,
all that is left of btrfs_redirty_list_add() is a memzero() and some
ASSERT()ions.

As we're also memzero()ing the buffer on write-out btrfs_redirty_list_add()
has become obsolete and can be removed.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c
fs/btrfs/tree-log.c
fs/btrfs/zoned.c
fs/btrfs/zoned.h