Commit f7048605 authored by Theodore Ts'o's avatar Theodore Ts'o

ext4: try to deprecate noacl and noxattr_user mount options

No other file system allows ACL's and extended attributes to be
enabled or disabled via a mount option.  So let's try to deprecate
these options from ext4.
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent c7198b9c
...@@ -1443,6 +1443,10 @@ static int handle_mount_opt(struct super_block *sb, char *opt, int token, ...@@ -1443,6 +1443,10 @@ static int handle_mount_opt(struct super_block *sb, char *opt, int token,
if (args->from && match_int(args, &arg)) if (args->from && match_int(args, &arg))
return -1; return -1;
switch (token) { switch (token) {
case Opt_noacl:
case Opt_nouser_xattr:
ext4_msg(sb, KERN_WARNING, deprecated_msg, opt, "3.5");
break;
case Opt_sb: case Opt_sb:
return 1; /* handled by get_sb_block() */ return 1; /* handled by get_sb_block() */
case Opt_removed: case Opt_removed:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment