summaryrefslogtreecommitdiff
path: root/fs/btrfs/dev-replace.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2019-03-20 18:51:44 +0300
committerDavid Sterba <dsterba@suse.com>2019-04-29 20:02:43 +0300
commit2b584c688bb53d482220712e2f5810a155ec1b74 (patch)
treeca9f3a08b501ae410d2062a33734d7e8141f114c /fs/btrfs/dev-replace.h
parent196c9d8de8389643318c22259fd5bcfccbc7fb91 (diff)
downloadlinux-2b584c688bb53d482220712e2f5810a155ec1b74.tar.xz
btrfs: get fs_info from trans in btrfs_run_dev_replace
We can read fs_info from the transaction and can drop it from the parameters. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.h')
-rw-r--r--fs/btrfs/dev-replace.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/dev-replace.h b/fs/btrfs/dev-replace.h
index 4aa40bacc6cc..78c5d8f1adda 100644
--- a/fs/btrfs/dev-replace.h
+++ b/fs/btrfs/dev-replace.h
@@ -9,8 +9,7 @@
struct btrfs_ioctl_dev_replace_args;
int btrfs_init_dev_replace(struct btrfs_fs_info *fs_info);
-int btrfs_run_dev_replace(struct btrfs_trans_handle *trans,
- struct btrfs_fs_info *fs_info);
+int btrfs_run_dev_replace(struct btrfs_trans_handle *trans);
int btrfs_dev_replace_by_ioctl(struct btrfs_fs_info *fs_info,
struct btrfs_ioctl_dev_replace_args *args);
void btrfs_dev_replace_status(struct btrfs_fs_info *fs_info,