summaryrefslogtreecommitdiffstats
path: root/sys/fs/nwfs
diff options
context:
space:
mode:
authorbp <bp@FreeBSD.org>1999-10-14 08:57:54 +0000
committerbp <bp@FreeBSD.org>1999-10-14 08:57:54 +0000
commit40a263bd52489f340c28c190ecd71c2b54e89198 (patch)
treedce6e5e497602b085175ad3348b832795fab0297 /sys/fs/nwfs
parent511cb27e6c44d9dc401cc5cbad0aaceec840d3f7 (diff)
downloadFreeBSD-src-40a263bd52489f340c28c190ecd71c2b54e89198.zip
FreeBSD-src-40a263bd52489f340c28c190ecd71c2b54e89198.tar.gz
Isolate old constant NCP_VOLNAME_LEN.
Diffstat (limited to 'sys/fs/nwfs')
-rw-r--r--sys/fs/nwfs/nwfs_mount.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/fs/nwfs/nwfs_mount.h b/sys/fs/nwfs/nwfs_mount.h
index 56a3241..45cce7d 100644
--- a/sys/fs/nwfs/nwfs_mount.h
+++ b/sys/fs/nwfs/nwfs_mount.h
@@ -52,13 +52,15 @@
#define NWFS_MOUNT_GET_SYSENT 0x0040 /* special case, look to vfsops :) */
#define NWFS_MOUNT_HAVE_NLS 0x0080
+#define NWFS_VOLNAME_LEN 48
+
/* Layout of the mount control block for a netware file system. */
struct nwfs_args {
int connRef; /* connection reference */
char mount_point[MAXPATHLEN];
u_int flags;
- u_char mounted_vol[NCP_VOLNAME_LEN + 1];
+ u_char mounted_vol[NWFS_VOLNAME_LEN + 1];
u_char root_path[512+1];
int version;
uid_t uid;
OpenPOWER on IntegriCloud