|
@@ -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,
|