diff options
author | Theodore Ts'o <tytso@mit.edu> | 2012-03-04 22:06:20 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2012-03-04 22:06:20 -0500 |
commit | f70486055ee351158bd6999f3965ad378b52c694 (patch) | |
tree | bc611bc2fa989a7ea3daddd160452ea98f09e76d /fs/ext4 | |
parent | c7198b9c1e4520d3b16f0f65e37d3db78745f1e1 (diff) |
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: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4')
-rw-r--r-- | fs/ext4/super.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 960681fae64e..25b1f0374f01 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c | |||
@@ -1443,6 +1443,10 @@ static int handle_mount_opt(struct super_block *sb, char *opt, int token, | |||
1443 | if (args->from && match_int(args, &arg)) | 1443 | if (args->from && match_int(args, &arg)) |
1444 | return -1; | 1444 | return -1; |
1445 | switch (token) { | 1445 | switch (token) { |
1446 | case Opt_noacl: | ||
1447 | case Opt_nouser_xattr: | ||
1448 | ext4_msg(sb, KERN_WARNING, deprecated_msg, opt, "3.5"); | ||
1449 | break; | ||
1446 | case Opt_sb: | 1450 | case Opt_sb: |
1447 | return 1; /* handled by get_sb_block() */ | 1451 | return 1; /* handled by get_sb_block() */ |
1448 | case Opt_removed: | 1452 | case Opt_removed: |