]> www.infradead.org Git - users/dwmw2/linux.git/commit
btrfs: pass a btrfs_inode to btrfs_wait_ordered_range()
authorFilipe Manana <fdmanana@suse.com>
Sat, 18 May 2024 17:14:06 +0000 (18:14 +0100)
committerDavid Sterba <dsterba@suse.com>
Thu, 11 Jul 2024 13:33:18 +0000 (15:33 +0200)
commite641e323abb3ceff6477a3936c4f5173126b7890
treeaef7c484d61d6656d7a8a7e35b56b41a56124d85
parentcef2daba42682764be4083f8d333a2477034e7c9
btrfs: pass a btrfs_inode to btrfs_wait_ordered_range()

Instead of passing a (VFS) inode pointer argument, pass a btrfs_inode
instead, as this is generally what we do for internal APIs, making it
more consistent with most of the code base. This will later allow to
help to remove a lot of BTRFS_I() calls in btrfs_sync_file().

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/file.c
fs/btrfs/free-space-cache.c
fs/btrfs/inode.c
fs/btrfs/ordered-data.c
fs/btrfs/ordered-data.h
fs/btrfs/reflink.c
fs/btrfs/relocation.c