btrfs: Remove redundant inode argument from btrfs_add_ordered_sum
authorNikolay Borisov <nborisov@suse.com>
Wed, 10 Apr 2019 13:16:11 +0000 (16:16 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 29 Apr 2019 17:02:40 +0000 (19:02 +0200)
commitf9756261c28c0acdaac8a7a8894d3e25d334d5f3
tree0cc3eebe240a3f01930ced914c5f194fba59fed9
parent8d47a0d8f7947422dd359ac8e462687f81a7a137
btrfs: Remove redundant inode argument from btrfs_add_ordered_sum

Ordered csums are keyed off of a btrfs_ordered_extent, which already has
a reference to the inode. This implies that an explicit inode argument
is redundant. So remove it.

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
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/file-item.c
fs/btrfs/ordered-data.c
fs/btrfs/ordered-data.h
fs/btrfs/relocation.c