diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2010-09-23 08:41:42 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2010-09-23 08:41:42 -0400 |
commit | f57a024ed2ee00d62515ffd4040f5ded3e0eb853 (patch) | |
tree | 7f253cd03070d5b6d8af2330cecd2f0f70ac6870 /fs/gfs2 | |
parent | 8d1235852b462cfb66aa036bd4a2686763c69ed4 (diff) |
GFS2: Remove ignore_local_fs mount argument
This is been a no-op for a very long time now. I'm pretty sure
nobody uses it, but just in case we'll still accept it on the
command line, but ignore it.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2')
-rw-r--r-- | fs/gfs2/incore.h | 1 | ||||
-rw-r--r-- | fs/gfs2/super.c | 5 |
2 files changed, 1 insertions, 5 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h index b12ca10481e7..c8a2db1bfe65 100644 --- a/fs/gfs2/incore.h +++ b/fs/gfs2/incore.h | |||
@@ -416,7 +416,6 @@ struct gfs2_args { | |||
416 | char ar_locktable[GFS2_LOCKNAME_LEN]; /* Name of the Lock Table */ | 416 | char ar_locktable[GFS2_LOCKNAME_LEN]; /* Name of the Lock Table */ |
417 | char ar_hostdata[GFS2_LOCKNAME_LEN]; /* Host specific data */ | 417 | char ar_hostdata[GFS2_LOCKNAME_LEN]; /* Host specific data */ |
418 | unsigned int ar_spectator:1; /* Don't get a journal */ | 418 | unsigned int ar_spectator:1; /* Don't get a journal */ |
419 | unsigned int ar_ignore_local_fs:1; /* Ignore optimisations */ | ||
420 | unsigned int ar_localflocks:1; /* Let the VFS do flock|fcntl */ | 419 | unsigned int ar_localflocks:1; /* Let the VFS do flock|fcntl */ |
421 | unsigned int ar_localcaching:1; /* Local caching */ | 420 | unsigned int ar_localcaching:1; /* Local caching */ |
422 | unsigned int ar_debug:1; /* Oops on errors */ | 421 | unsigned int ar_debug:1; /* Oops on errors */ |
diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c index e031fa4965a3..06a4a7e8cf7c 100644 --- a/fs/gfs2/super.c +++ b/fs/gfs2/super.c | |||
@@ -159,7 +159,7 @@ int gfs2_mount_args(struct gfs2_args *args, char *options) | |||
159 | args->ar_spectator = 1; | 159 | args->ar_spectator = 1; |
160 | break; | 160 | break; |
161 | case Opt_ignore_local_fs: | 161 | case Opt_ignore_local_fs: |
162 | args->ar_ignore_local_fs = 1; | 162 | /* Retained for backwards compat only */ |
163 | break; | 163 | break; |
164 | case Opt_localflocks: | 164 | case Opt_localflocks: |
165 | args->ar_localflocks = 1; | 165 | args->ar_localflocks = 1; |
@@ -1128,7 +1128,6 @@ static int gfs2_remount_fs(struct super_block *sb, int *flags, char *data) | |||
1128 | 1128 | ||
1129 | /* Some flags must not be changed */ | 1129 | /* Some flags must not be changed */ |
1130 | if (args_neq(&args, &sdp->sd_args, spectator) || | 1130 | if (args_neq(&args, &sdp->sd_args, spectator) || |
1131 | args_neq(&args, &sdp->sd_args, ignore_local_fs) || | ||
1132 | args_neq(&args, &sdp->sd_args, localflocks) || | 1131 | args_neq(&args, &sdp->sd_args, localflocks) || |
1133 | args_neq(&args, &sdp->sd_args, localcaching) || | 1132 | args_neq(&args, &sdp->sd_args, localcaching) || |
1134 | args_neq(&args, &sdp->sd_args, meta)) | 1133 | args_neq(&args, &sdp->sd_args, meta)) |
@@ -1233,8 +1232,6 @@ static int gfs2_show_options(struct seq_file *s, struct vfsmount *mnt) | |||
1233 | seq_printf(s, ",hostdata=%s", args->ar_hostdata); | 1232 | seq_printf(s, ",hostdata=%s", args->ar_hostdata); |
1234 | if (args->ar_spectator) | 1233 | if (args->ar_spectator) |
1235 | seq_printf(s, ",spectator"); | 1234 | seq_printf(s, ",spectator"); |
1236 | if (args->ar_ignore_local_fs) | ||
1237 | seq_printf(s, ",ignore_local_fs"); | ||
1238 | if (args->ar_localflocks) | 1235 | if (args->ar_localflocks) |
1239 | seq_printf(s, ",localflocks"); | 1236 | seq_printf(s, ",localflocks"); |
1240 | if (args->ar_localcaching) | 1237 | if (args->ar_localcaching) |