diff options
author | J. Bruce Fields <bfields@redhat.com> | 2012-12-17 18:17:13 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-12-17 22:00:27 -0500 |
commit | a1dc6955829f20ad80c1d6a411ecbcf538bb1410 (patch) | |
tree | c8f3a3322deff55f745115d997c50dd9c4b081f0 /fs/nfsd | |
parent | afc59400d6c65bad66d4ad0b2daf879cbff8e23e (diff) | |
download | op-kernel-dev-a1dc6955829f20ad80c1d6a411ecbcf538bb1410.zip op-kernel-dev-a1dc6955829f20ad80c1d6a411ecbcf538bb1410.tar.gz |
nfsd4: free_stateid can use the current stateid
Cc: Tigran Mkrtchyan <kofemann@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd')
-rw-r--r-- | fs/nfsd/nfs4proc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c index 2a2d9b0..9d1c5db 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, }, }; |