projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afc5940
)
nfsd4: free_stateid can use the current stateid
author
J. Bruce Fields
<bfields@redhat.com>
Mon, 17 Dec 2012 23:17:13 +0000
(18:17 -0500)
committer
J. Bruce Fields
<bfields@redhat.com>
Tue, 18 Dec 2012 03:00:27 +0000
(22:00 -0500)
Cc: Tigran Mkrtchyan <kofemann@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4proc.c
patch
|
blob
|
history
diff --git
a/fs/nfsd/nfs4proc.c
b/fs/nfsd/nfs4proc.c
index 2a2d9b06a4133eda974a0a78f24c7b7fc8297a23..9d1c5dba2bbb6625df90cebca48a364a29b9fe97 100644
(file)
--- 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,
},
};