Message ID | 557567d8-1557-389b-81b6-bb269c147320@jp.fujitsu.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Wed, Jan 17, 2018 at 05:38:31PM +0900, Misono, Tomohiro wrote: > 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> Thanks, added to the rest of mount patches. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 6ff13948b655..36fcdaf904b3 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c @@ -926,7 +926,7 @@ static int btrfs_parse_early_options(const char *options, fmode_t flags, * 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; @@ -1644,7 +1644,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);
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> --- fs/btrfs/super.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)