GFS2: Remove upgrade mount option
From c80dbb58f9c3f84372e37dfe80b41810052ad62f Mon Sep 17 00:00:00 2001
From: Steven Whitehouse <[email protected]>
Date: Fri, 24 Sep 2010 09:55:07 +0100
Subject: 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 <[email protected]>
fs/gfs2/incore.h +0 -1
@@ -418,7 +418,6 @@ struct gfs2_args { unsigned int ar_spectator:1; /* Don't get a journal */ unsigned int ar_localflocks:1; /* Let the VFS do flock|fcntl */ unsigned int ar_debug:1; /* Oops on errors */ - unsigned int ar_upgrade:1; /* Upgrade ondisk format */ unsigned int ar_posix_acl:1; /* Enable posix acls */ unsigned int ar_quota:2; /* off/account/on */ unsigned int ar_suiddir:1; /* suiddir support */
fs/gfs2/ops_fstype.c +2 -58
79 lines not on this page · raw message
fs/gfs2/super.c +1 -3
@@ -179,7 +179,7 @@ int gfs2_mount_args(struct gfs2_args *args, char *options) args->ar_debug =0 ;break ;case Opt_upgrade: - args->ar_upgrade =1 ; +/* Retained for backwards compat only */ break ;case Opt_acl: args->ar_posix_acl =1 ;
@@ -1235,8 +1235,6 @@ static int gfs2_show_options(struct seq_file *s, struct vfsmount *mnt)seq_printf (s,",localflocks" );if (args->ar_debug)seq_printf (s,",debug" ); -if (args->ar_upgrade) -seq_printf (s,",upgrade" );if (args->ar_posix_acl)seq_printf (s,",acl" );if (args->ar_quota !=GFS2_QUOTA_DEFAULT ) {
Signature · 1 line
1.7.1.1