From d506aa140d94d823a67c13f79c7201a73f44bcac Mon Sep 17 00:00:00 2001 From: Rick Macklem Date: Sat, 9 Jun 2018 23:14:59 +0000 Subject: [PATCH] Delete an unused macro and clean up a comment about it. NFSDEV_MIRRORSTR was defined for the pNFS server, but has not been used, so this patch deletes it. It also cleans up the comment and hopefully makes it more readable. --- sys/fs/nfs/nfs.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/sys/fs/nfs/nfs.h b/sys/fs/nfs/nfs.h index eec4252e20d..fc2409881b8 100644 --- a/sys/fs/nfs/nfs.h +++ b/sys/fs/nfs/nfs.h @@ -179,13 +179,10 @@ struct nfsd_nfsd_args { }; /* - * NFSDEV_MIRRORSTR - string of digits that number the DSs 0->999. - * (To support more than 1000 DSs on an MDS, this needs to be increased.) - * NFSDEV_MAXMIRRORS - Maximum # of mirrors for a DS. - * (Most will only have a single mirror, but this setting allows up to 3.) + * NFSDEV_MAXMIRRORS - Maximum level of mirroring for a DS. + * (Most will only put files on two DSs, but this setting allows up to 4.) * NFSDEV_MAXVERS - maximum number of NFS versions supported by Flex File. */ -#define NFSDEV_MIRRORSTR 3 #define NFSDEV_MAXMIRRORS 4 #define NFSDEV_MAXVERS 4