Commit e0a626b1 authored by David Howells's avatar David Howells Committed by Anna Schumaker

NFS: Constify mount argument match tables

The mount argument match tables should never be altered so constify them.
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
parent 9954bf92
......@@ -199,7 +199,7 @@ enum {
Opt_lookupcache_err
};
static match_table_t nfs_lookupcache_tokens = {
static const match_table_t nfs_lookupcache_tokens = {
{ Opt_lookupcache_all, "all" },
{ Opt_lookupcache_positive, "pos" },
{ Opt_lookupcache_positive, "positive" },
......@@ -215,7 +215,7 @@ enum {
Opt_local_lock_err
};
static match_table_t nfs_local_lock_tokens = {
static const match_table_t nfs_local_lock_tokens = {
{ Opt_local_lock_all, "all" },
{ Opt_local_lock_flock, "flock" },
{ Opt_local_lock_posix, "posix" },
......@@ -231,7 +231,7 @@ enum {
Opt_vers_err
};
static match_table_t nfs_vers_tokens = {
static const match_table_t nfs_vers_tokens = {
{ Opt_vers_2, "2" },
{ Opt_vers_3, "3" },
{ Opt_vers_4, "4" },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment