forked from luck/tmp_suning_uos_patched
ext4: remove deprecation warnings for minix_df and grpid
People complained about removing both of these features, so per Linus's dictate, we won't be able to remove them. Sigh... Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
This commit is contained in:
parent
85d216501a
commit
87f26807e9
@ -1539,23 +1539,16 @@ static int parse_options(char *options, struct super_block *sb,
|
|||||||
token = match_token(p, tokens, args);
|
token = match_token(p, tokens, args);
|
||||||
switch (token) {
|
switch (token) {
|
||||||
case Opt_bsd_df:
|
case Opt_bsd_df:
|
||||||
ext4_msg(sb, KERN_WARNING, deprecated_msg, p, "2.6.38");
|
|
||||||
clear_opt(sb, MINIX_DF);
|
clear_opt(sb, MINIX_DF);
|
||||||
break;
|
break;
|
||||||
case Opt_minix_df:
|
case Opt_minix_df:
|
||||||
ext4_msg(sb, KERN_WARNING, deprecated_msg, p, "2.6.38");
|
|
||||||
set_opt(sb, MINIX_DF);
|
set_opt(sb, MINIX_DF);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case Opt_grpid:
|
case Opt_grpid:
|
||||||
ext4_msg(sb, KERN_WARNING, deprecated_msg, p, "2.6.38");
|
|
||||||
set_opt(sb, GRPID);
|
set_opt(sb, GRPID);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case Opt_nogrpid:
|
case Opt_nogrpid:
|
||||||
ext4_msg(sb, KERN_WARNING, deprecated_msg, p, "2.6.38");
|
|
||||||
clear_opt(sb, GRPID);
|
clear_opt(sb, GRPID);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case Opt_resuid:
|
case Opt_resuid:
|
||||||
if (match_int(&args[0], &option))
|
if (match_int(&args[0], &option))
|
||||||
@ -3172,11 +3165,8 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent)
|
|||||||
set_opt(sb, INIT_INODE_TABLE);
|
set_opt(sb, INIT_INODE_TABLE);
|
||||||
if (def_mount_opts & EXT4_DEFM_DEBUG)
|
if (def_mount_opts & EXT4_DEFM_DEBUG)
|
||||||
set_opt(sb, DEBUG);
|
set_opt(sb, DEBUG);
|
||||||
if (def_mount_opts & EXT4_DEFM_BSDGROUPS) {
|
if (def_mount_opts & EXT4_DEFM_BSDGROUPS)
|
||||||
ext4_msg(sb, KERN_WARNING, deprecated_msg, "bsdgroups",
|
|
||||||
"2.6.38");
|
|
||||||
set_opt(sb, GRPID);
|
set_opt(sb, GRPID);
|
||||||
}
|
|
||||||
if (def_mount_opts & EXT4_DEFM_UID16)
|
if (def_mount_opts & EXT4_DEFM_UID16)
|
||||||
set_opt(sb, NO_UID32);
|
set_opt(sb, NO_UID32);
|
||||||
/* xattr user namespace & acls are now defaulted on */
|
/* xattr user namespace & acls are now defaulted on */
|
||||||
|
Loading…
Reference in New Issue
Block a user