Skip to contentSkip to conversation

fs/ntfs3: Remove deprecated mount options nls

PATCH Applied Kari Argillander 2 participants 2 messages Sep 21, 2021 – Sep 23, 2021 NTFS3 filesystem

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 fs/ntfs3: Remove deprecated mount options nls

Some discussion has been spoken that this deprecated mount options should be removed before 5.15 lands. This driver is not never seen day light so it was decided that nls mount option has to be removed. We have always possibility to add this if needed.

One possible need is example if current ntfs driver will be taken out of kernel and ntfs3 needs to support mount options what it has.

---
Patch is compile and checkpatch tested.

v2:

	-Do not delete {}
---
 fs/ntfs3/super.c | 4 ----
 1 file changed, 4 deletions(-)
fs/ntfs3/super.c +0 -4
index 6a535b144ff9..800897777eb0 100644
@@ -246,10 +246,6 @@ static const struct fs_parameter_spec ntfs_fs_parameters[] = {
 	fsparam_flag_no("prealloc",		Opt_prealloc),
 	fsparam_flag_no("acsrules",		Opt_noacsrules),
 	fsparam_string("iocharset",		Opt_iocharset),
-
-	__fsparam(fs_param_is_string,
-		  "nls", Opt_iocharset,
-		  fs_param_deprecated, NULL),
 	{}
 };
 

base-commit: 6354467245ff8dd04b54e39790f2ee4d21d5419e

Signature · 1 line
2.25.1
maintainer Applied
#1 lore raw
Quoted 34 lines · Kari Argillander

Some discussion has been spoken that this deprecated mount options should be removed before 5.15 lands. This driver is not never seen day light so it was decided that nls mount option has to be removed. We have always possibility to add this if needed.

One possible need is example if current ntfs driver will be taken out of kernel and ntfs3 needs to support mount options what it has.

---
Patch is compile and checkpatch tested.

v2:

	-Do not delete {}
---
 fs/ntfs3/super.c | 4 ----
 1 file changed, 4 deletions(-)
fs/ntfs3/super.c +0 -4
index 6a535b144ff9..800897777eb0 100644
@@ -246,10 +246,6 @@ static const struct fs_parameter_spec ntfs_fs_parameters[] = {
 	fsparam_flag_no("prealloc",		Opt_prealloc),
 	fsparam_flag_no("acsrules",		Opt_noacsrules),
 	fsparam_string("iocharset",		Opt_iocharset),
-
-	__fsparam(fs_param_is_string,
-		  "nls", Opt_iocharset,
-		  fs_param_deprecated, NULL),
 	{}
 };
 
Quoted 2 lines

base-commit: 6354467245ff8dd04b54e39790f2ee4d21d5419e

Applied, thanks!