]> git.ipfire.org Git - thirdparty/linux.git/commit
btrfs: use the local tmp_inode variable in start_delalloc_inodes
authorChristoph Hellwig <hch@lst.de>
Fri, 24 Oct 2025 08:04:15 +0000 (10:04 +0200)
committerChristian Brauner <brauner@kernel.org>
Wed, 29 Oct 2025 14:50:41 +0000 (15:50 +0100)
commit41e52c644753f1faac8892df32709cc659be01fb
treeb78b054b3a41bf7a8c2913cab9eb230a67863bf1
parent890f141da068ab38d6dd52e6d109c1f488e980d8
btrfs: use the local tmp_inode variable in start_delalloc_inodes

start_delalloc_inodes has a struct inode * pointer available in the
main loop, use it instead of re-calculating it from the btrfs inode.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://patch.msgid.link/20251024080431.324236-5-hch@lst.de
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/btrfs/inode.c