aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorTigran Mkrtchyan <kofemann@gmail.com>2012-02-13 16:55:29 -0500
committerJ. Bruce Fields <bfields@redhat.com>2012-02-15 11:20:42 -0500
commitd14710532ff192033450aa8ec57f7a93670d4c5f (patch)
tree8800d8cb9bf52ef372b73eeaac4faedacf03677f /fs
parent8307111476bcd6c3e126a06ba9240dfaef83ef63 (diff)
nfsd41: mark LOOKUP, LOOKUPP and CREATE to invalidate current stateid
Signed-off-by: Tigran Mkrtchyan <kofemann@gmail.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/nfsd/nfs4proc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c
index 32a291af1b4e..421eb0980a68 100644
--- a/fs/nfsd/nfs4proc.c
+++ b/fs/nfsd/nfs4proc.c
@@ -1445,7 +1445,7 @@ static struct nfsd4_operation nfsd4_ops[] = {
1445 }, 1445 },
1446 [OP_CREATE] = { 1446 [OP_CREATE] = {
1447 .op_func = (nfsd4op_func)nfsd4_create, 1447 .op_func = (nfsd4op_func)nfsd4_create,
1448 .op_flags = OP_MODIFIES_SOMETHING | OP_CACHEME, 1448 .op_flags = OP_MODIFIES_SOMETHING | OP_CACHEME | OP_CLEAR_STATEID,
1449 .op_name = "OP_CREATE", 1449 .op_name = "OP_CREATE",
1450 .op_rsize_bop = (nfsd4op_rsize)nfsd4_create_rsize, 1450 .op_rsize_bop = (nfsd4op_rsize)nfsd4_create_rsize,
1451 }, 1451 },
@@ -1491,12 +1491,12 @@ static struct nfsd4_operation nfsd4_ops[] = {
1491 }, 1491 },
1492 [OP_LOOKUP] = { 1492 [OP_LOOKUP] = {
1493 .op_func = (nfsd4op_func)nfsd4_lookup, 1493 .op_func = (nfsd4op_func)nfsd4_lookup,
1494 .op_flags = OP_HANDLES_WRONGSEC, 1494 .op_flags = OP_HANDLES_WRONGSEC | OP_CLEAR_STATEID,
1495 .op_name = "OP_LOOKUP", 1495 .op_name = "OP_LOOKUP",
1496 }, 1496 },
1497 [OP_LOOKUPP] = { 1497 [OP_LOOKUPP] = {
1498 .op_func = (nfsd4op_func)nfsd4_lookupp, 1498 .op_func = (nfsd4op_func)nfsd4_lookupp,
1499 .op_flags = OP_HANDLES_WRONGSEC, 1499 .op_flags = OP_HANDLES_WRONGSEC | OP_CLEAR_STATEID,
1500 .op_name = "OP_LOOKUPP", 1500 .op_name = "OP_LOOKUPP",
1501 }, 1501 },
1502 [OP_NVERIFY] = { 1502 [OP_NVERIFY] = {