diff options
author | Weston Andros Adamson <dros@netapp.com> | 2013-09-10 18:44:30 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-09-11 09:06:43 -0400 |
commit | a02796250fe3e5fd053f33d90c1b3471617188a9 (patch) | |
tree | 2eecac4b7314b38b05de74bf29fe779f065edf35 /fs/nfs | |
parent | 9f79fb4825cd336ba9efbb0d9468f2ef3fd3cbf6 (diff) |
NFSv4.1: sp4_mach_cred: ask for WRITE and COMMIT
Request SP4_MACH_CRED WRITE and COMMIT support in spo_must_allow list --
they're already supported by the client.
Signed-off-by: Weston Andros Adamson <dros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/nfs4proc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index e1212914bc03..4aeb14e902d9 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -6153,11 +6153,13 @@ static const struct nfs41_state_protection nfs4_sp4_mach_cred_request = { | |||
6153 | }, | 6153 | }, |
6154 | .allow.u.words = { | 6154 | .allow.u.words = { |
6155 | [0] = 1 << (OP_CLOSE) | | 6155 | [0] = 1 << (OP_CLOSE) | |
6156 | 1 << (OP_LOCKU), | 6156 | 1 << (OP_LOCKU) | |
6157 | 1 << (OP_COMMIT), | ||
6157 | [1] = 1 << (OP_SECINFO - 32) | | 6158 | [1] = 1 << (OP_SECINFO - 32) | |
6158 | 1 << (OP_SECINFO_NO_NAME - 32) | | 6159 | 1 << (OP_SECINFO_NO_NAME - 32) | |
6159 | 1 << (OP_TEST_STATEID - 32) | | 6160 | 1 << (OP_TEST_STATEID - 32) | |
6160 | 1 << (OP_FREE_STATEID - 32) | 6161 | 1 << (OP_FREE_STATEID - 32) | |
6162 | 1 << (OP_WRITE - 32) | ||
6161 | } | 6163 | } |
6162 | }; | 6164 | }; |
6163 | 6165 | ||