nfsd41: consume current stateid on read and write
Signed-off-by: Tigran Mkrtchyan <kofemann@gmail.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
parent
62cd4a591c
commit
30813e2773
3 changed files with 16 additions and 0 deletions
|
@ -1546,6 +1546,7 @@ static struct nfsd4_operation nfsd4_ops[] = {
|
|||
.op_flags = OP_MODIFIES_SOMETHING,
|
||||
.op_name = "OP_READ",
|
||||
.op_rsize_bop = (nfsd4op_rsize)nfsd4_read_rsize,
|
||||
.op_get_currentstateid = (stateid_getter)nfsd4_get_readstateid,
|
||||
},
|
||||
[OP_READDIR] = {
|
||||
.op_func = (nfsd4op_func)nfsd4_readdir,
|
||||
|
@ -1624,6 +1625,7 @@ static struct nfsd4_operation nfsd4_ops[] = {
|
|||
.op_flags = OP_MODIFIES_SOMETHING | OP_CACHEME,
|
||||
.op_name = "OP_WRITE",
|
||||
.op_rsize_bop = (nfsd4op_rsize)nfsd4_write_rsize,
|
||||
.op_get_currentstateid = (stateid_getter)nfsd4_get_writestateid,
|
||||
},
|
||||
[OP_RELEASE_LOCKOWNER] = {
|
||||
.op_func = (nfsd4op_func)nfsd4_release_lockowner,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue