Skip to content

Commit

Permalink
nfs: Add "mariux" to nfs_pseudoflavour_to_name
Browse files Browse the repository at this point in the history
  • Loading branch information
donald committed Jan 4, 2023
1 parent 406492a commit f036534
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions fs/nfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ static const char *nfs_pseudoflavour_to_name(rpc_authflavor_t flavour)
/* update NFS_AUTH_INFO_MAX_FLAVORS when this list changes! */
{ RPC_AUTH_NULL, "null" },
{ RPC_AUTH_UNIX, "sys" },
{ RPC_AUTH_MARIUX, "mariux" },
{ RPC_AUTH_GSS_KRB5, "krb5" },
{ RPC_AUTH_GSS_KRB5I, "krb5i" },
{ RPC_AUTH_GSS_KRB5P, "krb5p" },
Expand Down
2 changes: 1 addition & 1 deletion include/linux/nfs_xdr.h
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ struct nfs_renameres {
};

/* parsed sec= options */
#define NFS_AUTH_INFO_MAX_FLAVORS 12 /* see fs/nfs/super.c */
#define NFS_AUTH_INFO_MAX_FLAVORS 13 /* see fs/nfs/super.c */
struct nfs_auth_info {
unsigned int flavor_len;
rpc_authflavor_t flavors[NFS_AUTH_INFO_MAX_FLAVORS];
Expand Down

0 comments on commit f036534

Please sign in to comment.