aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfsd/nfs4proc.c')
-rw-r--r--fs/nfsd/nfs4proc.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c
index ded469ff08b3..f7be7fabe62c 100644
--- a/fs/nfsd/nfs4proc.c
+++ b/fs/nfsd/nfs4proc.c
@@ -1101,6 +1101,28 @@ static struct nfsd4_operation nfsd4_ops[] = {
1101 .op_flags = ALLOWED_WITHOUT_FH | ALLOWED_ON_ABSENT_FS, 1101 .op_flags = ALLOWED_WITHOUT_FH | ALLOWED_ON_ABSENT_FS,
1102 .op_name = "OP_RELEASE_LOCKOWNER", 1102 .op_name = "OP_RELEASE_LOCKOWNER",
1103 }, 1103 },
1104
1105 /* NFSv4.1 operations */
1106 [OP_EXCHANGE_ID] = {
1107 .op_func = (nfsd4op_func)nfsd4_exchange_id,
1108 .op_flags = ALLOWED_WITHOUT_FH,
1109 .op_name = "OP_EXCHANGE_ID",
1110 },
1111 [OP_CREATE_SESSION] = {
1112 .op_func = (nfsd4op_func)nfsd4_create_session,
1113 .op_flags = ALLOWED_WITHOUT_FH,
1114 .op_name = "OP_CREATE_SESSION",
1115 },
1116 [OP_DESTROY_SESSION] = {
1117 .op_func = (nfsd4op_func)nfsd4_destroy_session,
1118 .op_flags = ALLOWED_WITHOUT_FH,
1119 .op_name = "OP_DESTROY_SESSION",
1120 },
1121 [OP_SEQUENCE] = {
1122 .op_func = (nfsd4op_func)nfsd4_sequence,
1123 .op_flags = ALLOWED_WITHOUT_FH,
1124 .op_name = "OP_SEQUENCE",
1125 },
1104}; 1126};
1105 1127
1106static const char *nfsd4_op_name(unsigned opnum) 1128static const char *nfsd4_op_name(unsigned opnum)