summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMisono, Tomohiro <misono.tomohiro@jp.fujitsu.com>2018-01-17 17:38:31 +0900
committerDavid Sterba <dsterba@suse.com>2018-01-22 16:08:19 +0100
commit78f6beacd024e3ab8091a2a5c12ee7031f9ccc38 (patch)
tree78a8febc3d1799b76f3b404348932e810ab202f8
parent83085935cc38b9752215556c02b2f080c96bf1be (diff)
downloadlinux-78f6beacd024e3ab8091a2a5c12ee7031f9ccc38.tar.bz2
btrfs: remove unused arg from parse_subvol_options()
Remove unused arg 'holder' from parse_subvol_options(), which has been forgotten to be cleaned in the commit b99beb110e2d ("btrfs: split parse_early_options() in two"). Signed-off-by: Tomohiro Misono <misono.tomohiro@jp.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r--fs/btrfs/super.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 89333e118c7a..03367a64b5c1 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -948,7 +948,7 @@ out:
* The value is later passed to mount_subvol()
*/
static int btrfs_parse_subvol_options(const char *options, fmode_t flags,
- void *holder, char **subvol_name, u64 *subvol_objectid)
+ char **subvol_name, u64 *subvol_objectid)
{
substring_t args[MAX_OPT_ARGS];
char *opts, *orig, *p;
@@ -1667,7 +1667,7 @@ static struct dentry *btrfs_mount(struct file_system_type *fs_type, int flags,
if (!(flags & SB_RDONLY))
mode |= FMODE_WRITE;
- error = btrfs_parse_subvol_options(data, mode, fs_type,
+ error = btrfs_parse_subvol_options(data, mode,
&subvol_name, &subvol_objectid);
if (error) {
kfree(subvol_name);