aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2012-03-02 00:03:21 -0500
committerTheodore Ts'o <tytso@mit.edu>2012-03-02 00:03:21 -0500
commit87f26807e91102f2526d59c0232bf020479c8d0c (patch)
tree26636cbfc0e606b4926e15fcbaeaf36b2a61308d /fs/ext4/super.c
parent85d216501a7c2aa3e19d71c70430395c864a2ee5 (diff)
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>
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r--fs/ext4/super.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index deb6eb35ff3d..ed9a4b595c04 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -1539,23 +1539,16 @@ static int parse_options(char *options, struct super_block *sb,
1539 token = match_token(p, tokens, args); 1539 token = match_token(p, tokens, args);
1540 switch (token) { 1540 switch (token) {
1541 case Opt_bsd_df: 1541 case Opt_bsd_df:
1542 ext4_msg(sb, KERN_WARNING, deprecated_msg, p, "2.6.38");
1543 clear_opt(sb, MINIX_DF); 1542 clear_opt(sb, MINIX_DF);
1544 break; 1543 break;
1545 case Opt_minix_df: 1544 case Opt_minix_df:
1546 ext4_msg(sb, KERN_WARNING, deprecated_msg, p, "2.6.38");
1547 set_opt(sb, MINIX_DF); 1545 set_opt(sb, MINIX_DF);
1548
1549 break; 1546 break;
1550 case Opt_grpid: 1547 case Opt_grpid:
1551 ext4_msg(sb, KERN_WARNING, deprecated_msg, p, "2.6.38");
1552 set_opt(sb, GRPID); 1548 set_opt(sb, GRPID);
1553
1554 break; 1549 break;
1555 case Opt_nogrpid: 1550 case Opt_nogrpid:
1556 ext4_msg(sb, KERN_WARNING, deprecated_msg, p, "2.6.38");
1557 clear_opt(sb, GRPID); 1551 clear_opt(sb, GRPID);
1558
1559 break; 1552 break;
1560 case Opt_resuid: 1553 case Opt_resuid:
1561 if (match_int(&args[0], &option)) 1554 if (match_int(&args[0], &option))
@@ -3172,11 +3165,8 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent)
3172 set_opt(sb, INIT_INODE_TABLE); 3165 set_opt(sb, INIT_INODE_TABLE);
3173 if (def_mount_opts & EXT4_DEFM_DEBUG) 3166 if (def_mount_opts & EXT4_DEFM_DEBUG)
3174 set_opt(sb, DEBUG); 3167 set_opt(sb, DEBUG);
3175 if (def_mount_opts & EXT4_DEFM_BSDGROUPS) { 3168 if (def_mount_opts & EXT4_DEFM_BSDGROUPS)
3176 ext4_msg(sb, KERN_WARNING, deprecated_msg, "bsdgroups",
3177 "2.6.38");
3178 set_opt(sb, GRPID); 3169 set_opt(sb, GRPID);
3179 }
3180 if (def_mount_opts & EXT4_DEFM_UID16) 3170 if (def_mount_opts & EXT4_DEFM_UID16)
3181 set_opt(sb, NO_UID32); 3171 set_opt(sb, NO_UID32);
3182 /* xattr user namespace & acls are now defaulted on */ 3172 /* xattr user namespace & acls are now defaulted on */