summaryrefslogtreecommitdiff
path: root/nfs/nfs-spec.h
diff options
context:
space:
mode:
authorMichael Kelly <mike@weatherwax.co.uk>2025-07-12 11:36:35 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2025-07-12 11:36:35 +0200
commit6e02392b5d5db9f16f4e1316d8097573361bf637 (patch)
tree6d7a150b51f7872d21bd56ff7ca2e1d72306e61d /nfs/nfs-spec.h
parent09860e8f80d095e94bc15d9b67e708cc77fab16f (diff)
nfs: add support for NFSv3 in 'fetch_directory'
Diffstat (limited to 'nfs/nfs-spec.h')
-rw-r--r--nfs/nfs-spec.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/nfs/nfs-spec.h b/nfs/nfs-spec.h
index bed03874..4f7f5354 100644
--- a/nfs/nfs-spec.h
+++ b/nfs/nfs-spec.h
@@ -7,7 +7,9 @@
#define NFS_MAXNAMLEN 255
#define NFS2_FHSIZE 32
#define NFS3_FHSIZE 64
-#define NFS_COOKIESIZE 4
+#define NFS2_COOKIESIZE 4
+#define NFS3_COOKIESIZE 8
+#define NFS_MAXCOOKIESIZE NFS3_COOKIESIZE
#define NFS_FIFO_DEV -1
#define NFS3_COOKIEVERFSIZE 8
#define NFS3_CREATEVERFSIZE 8