]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: remove no longer used counter when reading data page
authorFilipe Manana <fdmanana@suse.com>
Thu, 3 Feb 2022 15:36:44 +0000 (15:36 +0000)
committerDavid Sterba <dsterba@suse.com>
Mon, 14 Mar 2022 12:13:50 +0000 (13:13 +0100)
commit5af87d07f200e8747c44a5310874ed73d2ed4d15
tree44c40994c36b88e93902ebb04bc02d3e099cf0ad
parent18cfcf52be74d64810c6ed68695050a03fafc511
btrfs: remove no longer used counter when reading data page

After commit 90747532f3485a ("btrfs: integrate page status update for
data read path into begin/end_page_read"), the 'nr' counter at
btrfs_do_readpage() is no longer used, we increment it but we never
read from it. So just remove it.

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