btrfs: remove inode argument from btrfs_start_ordered_extent

The passed in ordered_extent struct is always well-formed and contains
the inode making the explicit argument redundant.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
Nikolay Borisov
2020-09-18 12:15:53 +03:00
committed by David Sterba
parent 510f85edf1
commit c0a4360305
5 changed files with 14 additions and 17 deletions

View File

@@ -1319,7 +1319,7 @@ again:
break;
unlock_page(page);
btrfs_start_ordered_extent(inode, ordered, 1);
btrfs_start_ordered_extent(ordered, 1);
btrfs_put_ordered_extent(ordered);
lock_page(page);
/*