diff options
author | Steve Dickson <steved@redhat.com> | 2013-05-02 13:18:55 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2013-05-13 10:05:43 -0400 |
commit | 4488cc96c581f130f3e86283d514123dce0dd46b (patch) | |
tree | 627e7d9ad5f9f4d2853a11c9243f04e962ca2c37 /include | |
parent | f722406faae2d073cc1d01063d1123c35425939e (diff) |
NFS: Add NFSv4.2 protocol constants
Signed-off-by: Matthew N. Dodd <Matthew.Dodd@sparta.com>
Signed-off-by: Miguel Rodel Felipe <Rodel_FM@dsi.a-star.edu.sg>
Signed-off-by: Phua Eu Gene <PHUA_Eu_Gene@dsi.a-star.edu.sg>
Signed-off-by: Khin Mi Mi Aung <Mi_Mi_AUNG@dsi.a-star.edu.sg>
Signed-off-by: Steve Dickson <steved@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/nfs4.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/nfs4.h b/include/linux/nfs4.h index 7b8fc73810ad..7764aca1c6b7 100644 --- a/include/linux/nfs4.h +++ b/include/linux/nfs4.h | |||
@@ -219,6 +219,14 @@ enum nfsstat4 { | |||
219 | NFS4ERR_REJECT_DELEG = 10085, /* on callback */ | 219 | NFS4ERR_REJECT_DELEG = 10085, /* on callback */ |
220 | NFS4ERR_RETURNCONFLICT = 10086, /* outstanding layoutreturn */ | 220 | NFS4ERR_RETURNCONFLICT = 10086, /* outstanding layoutreturn */ |
221 | NFS4ERR_DELEG_REVOKED = 10087, /* deleg./layout revoked */ | 221 | NFS4ERR_DELEG_REVOKED = 10087, /* deleg./layout revoked */ |
222 | |||
223 | /* nfs42 */ | ||
224 | NFS4ERR_PARTNER_NOTSUPP = 10088, | ||
225 | NFS4ERR_PARTNER_NO_AUTH = 10089, | ||
226 | NFS4ERR_METADATA_NOTSUPP = 10090, | ||
227 | NFS4ERR_OFFLOAD_DENIED = 10091, | ||
228 | NFS4ERR_WRONG_LFS = 10092, | ||
229 | NFS4ERR_BADLABEL = 10093, | ||
222 | }; | 230 | }; |
223 | 231 | ||
224 | static inline bool seqid_mutating_err(u32 err) | 232 | static inline bool seqid_mutating_err(u32 err) |
@@ -378,6 +386,7 @@ enum lock_type4 { | |||
378 | #define FATTR4_WORD1_FS_LAYOUT_TYPES (1UL << 30) | 386 | #define FATTR4_WORD1_FS_LAYOUT_TYPES (1UL << 30) |
379 | #define FATTR4_WORD2_LAYOUT_BLKSIZE (1UL << 1) | 387 | #define FATTR4_WORD2_LAYOUT_BLKSIZE (1UL << 1) |
380 | #define FATTR4_WORD2_MDSTHRESHOLD (1UL << 4) | 388 | #define FATTR4_WORD2_MDSTHRESHOLD (1UL << 4) |
389 | #define FATTR4_WORD2_SECURITY_LABEL (1UL << 17) | ||
381 | 390 | ||
382 | /* MDS threshold bitmap bits */ | 391 | /* MDS threshold bitmap bits */ |
383 | #define THRESHOLD_RD (1UL << 0) | 392 | #define THRESHOLD_RD (1UL << 0) |