From: J. Bruce Fields Date: Mon, 17 Dec 2012 23:17:13 +0000 (-0500) Subject: nfsd4: free_stateid can use the current stateid X-Git-Tag: v3.8-rc1~20^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a1dc6955829f20ad80c1d6a411ecbcf538bb1410;p=thirdparty%2Fkernel%2Flinux.git nfsd4: free_stateid can use the current stateid Cc: Tigran Mkrtchyan Signed-off-by: J. Bruce Fields --- diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c index 2a2d9b06a4133..9d1c5dba2bbb6 100644 --- a/fs/nfsd/nfs4proc.c +++ b/fs/nfsd/nfs4proc.c @@ -1766,6 +1766,7 @@ static struct nfsd4_operation nfsd4_ops[] = { .op_func = (nfsd4op_func)nfsd4_free_stateid, .op_flags = ALLOWED_WITHOUT_FH | OP_MODIFIES_SOMETHING, .op_name = "OP_FREE_STATEID", + .op_get_currentstateid = (stateid_getter)nfsd4_get_freestateid, .op_rsize_bop = (nfsd4op_rsize)nfsd4_only_status_rsize, }, };