]> git.karo-electronics.de Git - linux-beck.git/commitdiff
GFS2: Add "norecovery" mount option as a synonym for "spectator"
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 29 Sep 2010 13:24:41 +0000 (14:24 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 29 Sep 2010 13:24:41 +0000 (14:24 +0100)
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>
fs/gfs2/super.c

index d85e0b7c1bb47bb00fe810a353edb9c8cad77802..047d1176096c79d6f0ce50227b8c098755fb0150 100644 (file)
@@ -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"},