btrfs: remove inode argument from add_pending_csums
authorNikolay Borisov <nborisov@suse.com>
Fri, 18 Sep 2020 09:15:52 +0000 (12:15 +0300)
committerDavid Sterba <dsterba@suse.com>
Wed, 7 Oct 2020 10:13:21 +0000 (12:13 +0200)
commit510f85edf1cdf1dbc937eed377442b2826bbb120
tree6bcbb5d421bec0fd72b8be0469f82fea2178b6a2
parent3c38c877fcb9504b1db12cb24de9f514cedfae74
btrfs: remove inode argument from add_pending_csums

It's used to reference the csum root which can be done from the trans
handle as well. Simplify the signature and while at it also remove the
noinline attribute as the function uses only at most 16 bytes of stack
space.

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/inode.c