]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: use btrfs_bio_for_each_sector in btrfs_check_read_dio_bio
authorChristoph Hellwig <hch@lst.de>
Sun, 22 May 2022 11:47:54 +0000 (13:47 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Jul 2022 15:44:34 +0000 (17:44 +0200)
commitbd2a4149ec1b9c6898755399262234603d5aed2b
treece88f67a7dad8238463680f566fc80fcddc004a7
parentd5b17145dd77d944b28d293e06a28c7119dbf665
btrfs: use btrfs_bio_for_each_sector in btrfs_check_read_dio_bio

Use the new btrfs_bio_for_each_sector iterator to simplify
btrfs_check_read_dio_bio.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c