summaryrefslogtreecommitdiffstats
path: root/fs/gfs2
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2010-09-29 14:24:41 +0100
committerSteven Whitehouse <swhiteho@redhat.com>2010-09-29 14:24:41 +0100
commit43f74c199563a4273e528e2166d0650625a1e05f (patch)
treecef4b1af71fde827a81f1f88bb13b0b75c6a99ab /fs/gfs2
parentc741c4551237f9c1bdcd3b1b39b0883bd19a3723 (diff)
downloadlinux-43f74c199563a4273e528e2166d0650625a1e05f.tar.gz
linux-43f74c199563a4273e528e2166d0650625a1e05f.tar.bz2
linux-43f74c199563a4273e528e2166d0650625a1e05f.zip
GFS2: Add "norecovery" mount option as a synonym for "spectator"
XFS supports the "norecovery" mount option which is basically the same as the GFS2 spectator mode. This adds support for "norecovery" as a synonym for spectator mode, which is hopefully a more obvious description of what it actually does. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2')
-rw-r--r--fs/gfs2/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c
index d85e0b7c1bb4..047d1176096c 100644
--- a/fs/gfs2/super.c
+++ b/fs/gfs2/super.c
@@ -85,6 +85,7 @@ static const match_table_t tokens = {
{Opt_locktable, "locktable=%s"},
{Opt_hostdata, "hostdata=%s"},
{Opt_spectator, "spectator"},
+ {Opt_spectator, "norecovery"},
{Opt_ignore_local_fs, "ignore_local_fs"},
{Opt_localflocks, "localflocks"},
{Opt_localcaching, "localcaching"},