aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4proc.c
diff options
context:
space:
mode:
authorTigran Mkrtchyan <kofemann@gmail.com>2012-02-13 16:55:26 -0500
committerJ. Bruce Fields <bfields@redhat.com>2012-02-15 11:20:40 -0500
commit30813e2773659dc6929c0bf6edc2c2b5bc0c687c (patch)
treee6ee224077d920c0709152f5e72d469ffb258d5b /fs/nfsd/nfs4proc.c
parent62cd4a591c6e0ead783940169fb8d34fe3f04992 (diff)
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>
Diffstat (limited to 'fs/nfsd/nfs4proc.c')
-rw-r--r--fs/nfsd/nfs4proc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c
index a985e19288b1..d788d754ccde 100644
--- a/fs/nfsd/nfs4proc.c
+++ b/fs/nfsd/nfs4proc.c
@@ -1546,6 +1546,7 @@ static struct nfsd4_operation nfsd4_ops[] = {
1546 .op_flags = OP_MODIFIES_SOMETHING, 1546 .op_flags = OP_MODIFIES_SOMETHING,
1547 .op_name = "OP_READ", 1547 .op_name = "OP_READ",
1548 .op_rsize_bop = (nfsd4op_rsize)nfsd4_read_rsize, 1548 .op_rsize_bop = (nfsd4op_rsize)nfsd4_read_rsize,
1549 .op_get_currentstateid = (stateid_getter)nfsd4_get_readstateid,
1549 }, 1550 },
1550 [OP_READDIR] = { 1551 [OP_READDIR] = {
1551 .op_func = (nfsd4op_func)nfsd4_readdir, 1552 .op_func = (nfsd4op_func)nfsd4_readdir,
@@ -1624,6 +1625,7 @@ static struct nfsd4_operation nfsd4_ops[] = {
1624 .op_flags = OP_MODIFIES_SOMETHING | OP_CACHEME, 1625 .op_flags = OP_MODIFIES_SOMETHING | OP_CACHEME,
1625 .op_name = "OP_WRITE", 1626 .op_name = "OP_WRITE",
1626 .op_rsize_bop = (nfsd4op_rsize)nfsd4_write_rsize, 1627 .op_rsize_bop = (nfsd4op_rsize)nfsd4_write_rsize,
1628 .op_get_currentstateid = (stateid_getter)nfsd4_get_writestateid,
1627 }, 1629 },
1628 [OP_RELEASE_LOCKOWNER] = { 1630 [OP_RELEASE_LOCKOWNER] = {
1629 .op_func = (nfsd4op_func)nfsd4_release_lockowner, 1631 .op_func = (nfsd4op_func)nfsd4_release_lockowner,