]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: don't use bio->bi_private to pass the inode to submit_one_bio
authorChristoph Hellwig <hch@lst.de>
Fri, 3 Jun 2022 07:11:01 +0000 (09:11 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Jul 2022 15:45:34 +0000 (17:45 +0200)
commit3d49f1263b05cefd13f4016e689acfaf006c2781
tree559ea6fb52544e2756770de3efda52c59ce8e4cd
parent00f1bcc26f6cd69729899896f243facc7100e1dd
btrfs: don't use bio->bi_private to pass the inode to submit_one_bio

submit_one_bio is only used for page cache I/O, so the inode can be
trivially derived from the first page in the bio.

Reviewed-by: Qu Wenruo <wqu@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/extent_io.c