]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
btrfs: remove duplicated eb uptodate check in btrfs_buffer_uptodate()
authorFilipe Manana <fdmanana@suse.com>
Mon, 9 Feb 2026 10:03:08 +0000 (10:03 +0000)
committerDavid Sterba <dsterba@suse.com>
Tue, 7 Apr 2026 16:55:55 +0000 (18:55 +0200)
commit8352b29ad02ba647a32d45862478fb5165666155
tree8f2a3c8e7d3fb9cd7648aef07250f82362ab95c4
parent883adb6dcff0f96dbbdb6488842a38b121ebd68c
btrfs: remove duplicated eb uptodate check in btrfs_buffer_uptodate()

We are calling extent_buffer_uptodate() twice, and the result will not
change before the second call. So remove the second call.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c