aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4proc.c
diff options
context:
space:
mode:
authorTigran Mkrtchyan <kofemann@gmail.com>2012-02-13 16:55:25 -0500
committerJ. Bruce Fields <bfields@redhat.com>2012-02-15 11:20:39 -0500
commit62cd4a591c6e0ead783940169fb8d34fe3f04992 (patch)
tree149caa0d996deaa4556f3cb40cdd6d72b15b333f /fs/nfsd/nfs4proc.c
parent8b70484c67cf5241cfbea0ee31b83e42e5bac163 (diff)
nfsd41: handle current stateid on lock and locku
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 b08f6e50fc48..a985e19288b1 100644
--- a/fs/nfsd/nfs4proc.c
+++ b/fs/nfsd/nfs4proc.c
@@ -1474,6 +1474,7 @@ static struct nfsd4_operation nfsd4_ops[] = {
1474 .op_flags = OP_MODIFIES_SOMETHING, 1474 .op_flags = OP_MODIFIES_SOMETHING,
1475 .op_name = "OP_LOCK", 1475 .op_name = "OP_LOCK",
1476 .op_rsize_bop = (nfsd4op_rsize)nfsd4_lock_rsize, 1476 .op_rsize_bop = (nfsd4op_rsize)nfsd4_lock_rsize,
1477 .op_set_currentstateid = (stateid_setter)nfsd4_set_lockstateid,
1477 }, 1478 },
1478 [OP_LOCKT] = { 1479 [OP_LOCKT] = {
1479 .op_func = (nfsd4op_func)nfsd4_lockt, 1480 .op_func = (nfsd4op_func)nfsd4_lockt,
@@ -1484,6 +1485,7 @@ static struct nfsd4_operation nfsd4_ops[] = {
1484 .op_flags = OP_MODIFIES_SOMETHING, 1485 .op_flags = OP_MODIFIES_SOMETHING,
1485 .op_name = "OP_LOCKU", 1486 .op_name = "OP_LOCKU",
1486 .op_rsize_bop = (nfsd4op_rsize)nfsd4_status_stateid_rsize, 1487 .op_rsize_bop = (nfsd4op_rsize)nfsd4_status_stateid_rsize,
1488 .op_get_currentstateid = (stateid_getter)nfsd4_get_lockustateid,
1487 }, 1489 },
1488 [OP_LOOKUP] = { 1490 [OP_LOOKUP] = {
1489 .op_func = (nfsd4op_func)nfsd4_lookup, 1491 .op_func = (nfsd4op_func)nfsd4_lookup,