diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfsd/nfs4proc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c index eef1629806f5..2e51adac65de 100644 --- a/fs/nfsd/nfs4proc.c +++ b/fs/nfsd/nfs4proc.c | |||
@@ -851,7 +851,7 @@ struct nfsd4_operation { | |||
851 | 851 | ||
852 | static struct nfsd4_operation nfsd4_ops[]; | 852 | static struct nfsd4_operation nfsd4_ops[]; |
853 | 853 | ||
854 | static inline char *nfsd4_op_name(unsigned opnum); | 854 | static const char *nfsd4_op_name(unsigned opnum); |
855 | 855 | ||
856 | /* | 856 | /* |
857 | * COMPOUND call. | 857 | * COMPOUND call. |
@@ -1116,8 +1116,7 @@ static struct nfsd4_operation nfsd4_ops[OP_RELEASE_LOCKOWNER+1] = { | |||
1116 | }, | 1116 | }, |
1117 | }; | 1117 | }; |
1118 | 1118 | ||
1119 | static inline char * | 1119 | static const char *nfsd4_op_name(unsigned opnum) |
1120 | nfsd4_op_name(unsigned opnum) | ||
1121 | { | 1120 | { |
1122 | if (opnum < ARRAY_SIZE(nfsd4_ops)) | 1121 | if (opnum < ARRAY_SIZE(nfsd4_ops)) |
1123 | return nfsd4_ops[opnum].op_name; | 1122 | return nfsd4_ops[opnum].op_name; |