]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb3865425c24bcc38aaf4bbe8f05fb13eb9f30f84
tree6bcbb5d421bec0fd72b8be0469f82fea2178b6a2
parentc06e55b18892be4687ab1762294ba3dfff102708
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