]> git.ipfire.org Git - thirdparty/linux.git/commit
btrfs: push struct writeback_control into start_delalloc_inodes
authorChristoph Hellwig <hch@lst.de>
Fri, 24 Oct 2025 08:04:16 +0000 (10:04 +0200)
committerChristian Brauner <brauner@kernel.org>
Wed, 29 Oct 2025 14:50:41 +0000 (15:50 +0100)
commitc9501112e3cbb7bd9941024f005c5d0f0b77c9f9
tree1d6e79efa283ea3a32bc5525337c95d7006d0103
parent41e52c644753f1faac8892df32709cc659be01fb
btrfs: push struct writeback_control into start_delalloc_inodes

In preparation for changing the filemap_fdatawrite_wbc API to not expose
the writeback_control to the callers, push the wbc declaration next to
the filemap_fdatawrite_wbc call and just pass the nr_to_write value to
start_delalloc_inodes.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://patch.msgid.link/20251024080431.324236-6-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