btrfs: Make first argument of btrfs_run_delalloc_range directly an inode
authorNikolay Borisov <nborisov@suse.com>
Wed, 19 Dec 2018 07:50:20 +0000 (09:50 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Feb 2019 13:13:15 +0000 (14:13 +0100)
commitbc9a8bf79cb049eb3af26d53e6ca96dd6a881358
treeb250a8edc408a2ef1794b7b8f756eeed7c9960b3
parent9cf10cc195c755e96f818731deeb80fa140d0f97
btrfs: Make first argument of btrfs_run_delalloc_range directly an inode

Since this function is no longer a callback there is no need to have
its first argument obfuscated with a void *. Change it directly to a
pointer to an inode. No functional changes.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/inode.c