NFSv4.1: sp4_mach_cred: ask for WRITE and COMMIT
[deliverable/linux.git] / fs / nfs / nfs4proc.c
index e1212914bc039542298d990b4e4201daddfa8b7f..4aeb14e902d98c439dd6caa0a00b8c1bad94abf0 100644 (file)
@@ -6153,11 +6153,13 @@ static const struct nfs41_state_protection nfs4_sp4_mach_cred_request = {
        },
        .allow.u.words = {
                [0] = 1 << (OP_CLOSE) |
-                     1 << (OP_LOCKU),
+                     1 << (OP_LOCKU) |
+                     1 << (OP_COMMIT),
                [1] = 1 << (OP_SECINFO - 32) |
                      1 << (OP_SECINFO_NO_NAME - 32) |
                      1 << (OP_TEST_STATEID - 32) |
-                     1 << (OP_FREE_STATEID - 32)
+                     1 << (OP_FREE_STATEID - 32) |
+                     1 << (OP_WRITE - 32)
        }
 };
 
This page took 0.033757 seconds and 5 git commands to generate.