aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/super.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2010-09-24 04:55:07 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2010-09-24 04:55:07 -0400
commitc80dbb58f9c3f84372e37dfe80b41810052ad62f (patch)
tree138e1683dbac848c2563a03509207f8981b059ed /fs/gfs2/super.c
parentc2048b003cfb840ad81bdc6eb55beb12a19a222e (diff)
GFS2: Remove upgrade mount option
This option has never done anything useful. Also at the same time this cleans up the sb checks which are done at mount time. The debug option will be accepted, but ignored in future. Since it didn't do anything, there didn't seem much point in retaining it. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/super.c')
-rw-r--r--fs/gfs2/super.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c
index e78de8bf2728..d85e0b7c1bb4 100644
--- a/fs/gfs2/super.c
+++ b/fs/gfs2/super.c
@@ -179,7 +179,7 @@ int gfs2_mount_args(struct gfs2_args *args, char *options)
179 args->ar_debug = 0; 179 args->ar_debug = 0;
180 break; 180 break;
181 case Opt_upgrade: 181 case Opt_upgrade:
182 args->ar_upgrade = 1; 182 /* Retained for backwards compat only */
183 break; 183 break;
184 case Opt_acl: 184 case Opt_acl:
185 args->ar_posix_acl = 1; 185 args->ar_posix_acl = 1;
@@ -1235,8 +1235,6 @@ static int gfs2_show_options(struct seq_file *s, struct vfsmount *mnt)
1235 seq_printf(s, ",localflocks"); 1235 seq_printf(s, ",localflocks");
1236 if (args->ar_debug) 1236 if (args->ar_debug)
1237 seq_printf(s, ",debug"); 1237 seq_printf(s, ",debug");
1238 if (args->ar_upgrade)
1239 seq_printf(s, ",upgrade");
1240 if (args->ar_posix_acl) 1238 if (args->ar_posix_acl)
1241 seq_printf(s, ",acl"); 1239 seq_printf(s, ",acl");
1242 if (args->ar_quota != GFS2_QUOTA_DEFAULT) { 1240 if (args->ar_quota != GFS2_QUOTA_DEFAULT) {