Re: [PATCH 4/6] fsconfig: parse "subtype" param for old internal API

From: David Howells
Date: Fri Sep 21 2018 - 10:56:54 EST


Miklos Szeredi <mszeredi@xxxxxxxxxx> wrote:

> This subtype thing is specific to "fuse" and "fuseblk" filesystems. When
> these are switched over to the new context API, the handling of this
> parameter can be moved from legacy_parse_param() into fuse.

I think do_new_mount() should do:

vfs_parse_fs_string(fc, "subtype", subtype, strlen(subtype));

rather than setting fc->subtype itself. I've made that change and folded this
patch also.

David