Commit 96cafb9c authored by Eric Sandeen's avatar Eric Sandeen Committed by Al Viro
Browse files

fs_parser: remove fs_parameter_description name field



Unused now.

Signed-off-by: default avatarEric Sandeen <sandeen@redhat.com>
Acked-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent cc3c0b53
Loading
Loading
Loading
Loading
+2 −9
Original line number Diff line number Diff line
@@ -518,7 +518,6 @@ Parameters are described using structures defined in linux/fs_parser.h.
There's a core description struct that links everything together:

	struct fs_parameter_description {
		const char	name[16];
		const struct fs_parameter_spec *specs;
		const struct fs_parameter_enum *enums;
	};
@@ -534,19 +533,13 @@ For example:
	};

	static const struct fs_parameter_description afs_fs_parameters = {
		.name		= "kAFS",
		.specs		= afs_param_specs,
		.enums		= afs_param_enums,
	};

The members are as follows:

 (1) const char name[16];

     The name to be used in error messages generated by the parse helper
     functions.

 (2) const struct fs_parameter_specification *specs;
 (1) const struct fs_parameter_specification *specs;

     Table of parameter specifications, terminated with a null entry, where the
     entries are of type:
@@ -625,7 +618,7 @@ The members are as follows:
     of arguments to specify the type and the flags for anything that doesn't
     match one of the above macros.

 (6) const struct fs_parameter_enum *enums;
 (2) const struct fs_parameter_enum *enums;

     Table of enum value names to integer mappings, terminated with a null
     entry.  This is of type:
+0 −1
Original line number Diff line number Diff line
@@ -592,7 +592,6 @@ static const struct fs_parameter_spec spufs_param_specs[] = {
};

static const struct fs_parameter_description spufs_fs_parameters = {
	.name		= "spufs",
	.specs		= spufs_param_specs,
};

+0 −1
Original line number Diff line number Diff line
@@ -216,7 +216,6 @@ static const struct fs_parameter_spec hypfs_param_specs[] = {
};

static const struct fs_parameter_description hypfs_fs_parameters = {
	.name		= "hypfs",
	.specs		= hypfs_param_specs,
};

+0 −1
Original line number Diff line number Diff line
@@ -2045,7 +2045,6 @@ static const struct fs_parameter_spec rdt_param_specs[] = {
};

static const struct fs_parameter_description rdt_fs_parameters = {
	.name		= "rdt",
	.specs		= rdt_param_specs,
};

+0 −1
Original line number Diff line number Diff line
@@ -864,7 +864,6 @@ static const struct fs_parameter_spec rbd_param_specs[] = {
};

static const struct fs_parameter_description rbd_parameters = {
	.name		= "rbd",
	.specs		= rbd_param_specs,
};

Loading