btrfs: stop passing root argument to __btrfs_del_delalloc_inode()
authorFilipe Manana <fdmanana@suse.com>
Thu, 8 Feb 2024 21:55:42 +0000 (21:55 +0000)
committerDavid Sterba <dsterba@suse.com>
Mon, 4 Mar 2024 15:24:49 +0000 (16:24 +0100)
commitf5169f12d7ea5dad54884ba1dbbf9e17394c2087
treee47db0c24414d2326fc8feb8a7e70d78455adeec
parent8a46e55a6cbb0c795c4b5a31139c9f2a6eca6589
btrfs: stop passing root argument to __btrfs_del_delalloc_inode()

There's no need to pass a root argument to __btrfs_del_delalloc_inode()
and btrfs_del_delalloc_inode(), we can just pass the inode since the root
is always the root associated to that inode. Some remove the root argument
from these functions.

Reviewed-by: Boris Burkov <boris@bur.io>
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/btrfs_inode.h
fs/btrfs/disk-io.c
fs/btrfs/inode.c