]> www.infradead.org Git - users/willy/linux.git/commit
btrfs: pass a btrfs_inode to btrfs_fdatawrite_range()
authorFilipe Manana <fdmanana@suse.com>
Sat, 18 May 2024 17:01:47 +0000 (18:01 +0100)
committerDavid Sterba <dsterba@suse.com>
Thu, 11 Jul 2024 13:33:18 +0000 (15:33 +0200)
commitcef2daba42682764be4083f8d333a2477034e7c9
tree460a75e0b7c6c729f7090a852c714076cc37a07c
parent4d0120a519357c817414adaa0f1b3e04fa424478
btrfs: pass a btrfs_inode to btrfs_fdatawrite_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/file.h
fs/btrfs/free-space-cache.c
fs/btrfs/ordered-data.c