summaryrefslogtreecommitdiff
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2024-10-09 16:32:07 +0200
committerDavid Sterba <dsterba@suse.com>2024-11-11 14:34:17 +0100
commit87cbab86366e75dec52f787e0e0b17b2aea769ca (patch)
tree648f9a26066edf998e7d84af09d25357e80c50e7 /fs/btrfs/disk-io.c
parentec315b4b9f66794a63961cb06df9212abe0819a9 (diff)
downloadlinux-87cbab86366e75dec52f787e0e0b17b2aea769ca.tar.gz
linux-87cbab86366e75dec52f787e0e0b17b2aea769ca.tar.bz2
linux-87cbab86366e75dec52f787e0e0b17b2aea769ca.zip
btrfs: drop unused parameter options from open_ctree()
Since the new mount option parser in commit ad21f15b0f79 ("btrfs: switch to the new mount API") we don't pass the options like that anymore. Reviewed-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index b11bfe68dd65..43b7b331b2da 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -3202,8 +3202,7 @@ int btrfs_check_features(struct btrfs_fs_info *fs_info, bool is_rw_mount)
return 0;
}
-int __cold open_ctree(struct super_block *sb, struct btrfs_fs_devices *fs_devices,
- const char *options)
+int __cold open_ctree(struct super_block *sb, struct btrfs_fs_devices *fs_devices)
{
u32 sectorsize;
u32 nodesize;