btrfs: remove duplicated metadata folio flag update in end_bbio_meta_read()
authorQu Wenruo <wqu@suse.com>
Mon, 27 Jan 2025 02:30:49 +0000 (13:00 +1030)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Mar 2025 13:44:43 +0000 (14:44 +0100)
commitc5e8f2924abe7becfae5b29bf2fe7a9b0101a8e9
tree3e164e354c28f7203f560a69cdb32e6328b14b07
parent8be4cb04cb909d940aa7408f668f0984e84fd5be
btrfs: remove duplicated metadata folio flag update in end_bbio_meta_read()

In that function we call set_extent_buffer_uptodate() or
clear_extent_buffer_uptodate(), which will already update the uptodate
flag for all the involved extent buffer folios.

Thus there is no need to update the folio uptodate flags again.

Just remove the open-coded part.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c