aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/nfs4.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/include/linux/nfs4.h b/include/linux/nfs4.h
index 32345c2805c0..8cdde4d1fad8 100644
--- a/include/linux/nfs4.h
+++ b/include/linux/nfs4.h
@@ -441,7 +441,20 @@ enum limit_by4 {
441enum open_delegation_type4 { 441enum open_delegation_type4 {
442 NFS4_OPEN_DELEGATE_NONE = 0, 442 NFS4_OPEN_DELEGATE_NONE = 0,
443 NFS4_OPEN_DELEGATE_READ = 1, 443 NFS4_OPEN_DELEGATE_READ = 1,
444 NFS4_OPEN_DELEGATE_WRITE = 2 444 NFS4_OPEN_DELEGATE_WRITE = 2,
445 NFS4_OPEN_DELEGATE_NONE_EXT = 3, /* 4.1 */
446};
447
448enum why_no_delegation4 { /* new to v4.1 */
449 WND4_NOT_WANTED = 0,
450 WND4_CONTENTION = 1,
451 WND4_RESOURCE = 2,
452 WND4_NOT_SUPP_FTYPE = 3,
453 WND4_WRITE_DELEG_NOT_SUPP_FTYPE = 4,
454 WND4_NOT_SUPP_UPGRADE = 5,
455 WND4_NOT_SUPP_DOWNGRADE = 6,
456 WND4_CANCELLED = 7,
457 WND4_IS_DIR = 8,
445}; 458};
446 459
447enum lock_type4 { 460enum lock_type4 {