diff options
author | Nikolay Borisov <nborisov@suse.com> | 2020-09-18 12:15:53 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-10-07 12:13:22 +0200 |
commit | c0a43603056cb79be8a0dffeedc544ce9b5d115d (patch) | |
tree | ca111e776008862150b5e2c1160033c7f4cb851a /fs/btrfs/ioctl.c | |
parent | 510f85edf1cdf1dbc937eed377442b2826bbb120 (diff) | |
download | lwn-c0a43603056cb79be8a0dffeedc544ce9b5d115d.tar.gz lwn-c0a43603056cb79be8a0dffeedc544ce9b5d115d.zip |
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>
Diffstat (limited to 'fs/btrfs/ioctl.c')
-rw-r--r-- | fs/btrfs/ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index de65cf6105e4..ab408a23ba32 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c @@ -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); /* |