diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2011-07-13 17:04:21 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-07-16 00:58:47 +0200 |
commit | e1ca12dfb1be7fe8b82ca723a9b511f7d808bf81 (patch) | |
tree | 4d70be30b1bbd329d1edb036f9b974cce24f9b40 /fs/nfsd/nfs4proc.c | |
parent | svcrpc: fix list-corrupting race on nfsd shutdown (diff) | |
download | linux-e1ca12dfb1be7fe8b82ca723a9b511f7d808bf81.tar.xz linux-e1ca12dfb1be7fe8b82ca723a9b511f7d808bf81.zip |
NFSD: added FREE_STATEID operation
This operation is used by the client to tell the server to free a
stateid.
Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4proc.c')
-rw-r--r-- | fs/nfsd/nfs4proc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c index 7406f1cfd001..a27dea50273d 100644 --- a/fs/nfsd/nfs4proc.c +++ b/fs/nfsd/nfs4proc.c @@ -1417,6 +1417,11 @@ static struct nfsd4_operation nfsd4_ops[] = { .op_flags = OP_HANDLES_WRONGSEC, .op_name = "OP_SECINFO_NO_NAME", }, + [OP_FREE_STATEID] = { + .op_func = (nfsd4op_func)nfsd4_free_stateid, + .op_flags = ALLOWED_WITHOUT_FH, + .op_name = "OP_FREE_STATEID", + }, }; static const char *nfsd4_op_name(unsigned opnum) |