mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 00:34:52 +00:00
NFS: Constify mount argument match tables
The mount argument match tables should never be altered so constify them. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
This commit is contained in:
parent
9954bf92c0
commit
e0a626b124
1 changed files with 3 additions and 3 deletions
|
@ -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" },
|
||||
|
|
Loading…
Add table
Reference in a new issue