summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4proc.c
diff options
context:
space:
mode:
authorJ. Bruce Fields2010-04-19 21:11:28 +0200
committerJ. Bruce Fields2010-05-13 18:03:11 +0200
commit4dc6ec00f6347b72312fa41dfc587d5302b05544 (patch)
treefbb00e0c8341561f155a6dcd6fc5f83282c638b0 /fs/nfsd/nfs4proc.c
parentnfsd4: nfsd4_destroy_session must set callback client under the state lock (diff)
downloadkernel-qcow2-linux-4dc6ec00f6347b72312fa41dfc587d5302b05544.tar.gz
kernel-qcow2-linux-4dc6ec00f6347b72312fa41dfc587d5302b05544.tar.xz
kernel-qcow2-linux-4dc6ec00f6347b72312fa41dfc587d5302b05544.zip
nfsd4: implement reclaim_complete
This is a mandatory operation. Also, here (not in open) is where we should be committing the reboot recovery information. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/nfsd/nfs4proc.c')
-rw-r--r--fs/nfsd/nfs4proc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c
index e2dc9608281b..59ec449b0c7f 100644
--- a/fs/nfsd/nfs4proc.c
+++ b/fs/nfsd/nfs4proc.c
@@ -1312,6 +1312,11 @@ static struct nfsd4_operation nfsd4_ops[] = {
.op_flags = ALLOWED_WITHOUT_FH | ALLOWED_AS_FIRST_OP,
.op_name = "OP_SEQUENCE",
},
+ [OP_RECLAIM_COMPLETE] = {
+ .op_func = (nfsd4op_func)nfsd4_reclaim_complete,
+ .op_flags = ALLOWED_WITHOUT_FH,
+ .op_name = "OP_RECLAIM_COMPLETE",
+ },
};
static const char *nfsd4_op_name(unsigned opnum)