aboutsummaryrefslogtreecommitdiff
path: root/sys/fs
diff options
context:
space:
mode:
authorBoris Popov <bp@FreeBSD.org>1999-10-14 08:57:54 +0000
committerBoris Popov <bp@FreeBSD.org>1999-10-14 08:57:54 +0000
commit51533e5859b85e8900cff727bdfe33248473a488 (patch)
treedce6e5e497602b085175ad3348b832795fab0297 /sys/fs
parentf24bb3a4b3fc3c4f87a2378a1285af0e81fb93de (diff)
downloadsrc-51533e5859b85e8900cff727bdfe33248473a488.tar.gz
src-51533e5859b85e8900cff727bdfe33248473a488.zip
Isolate old constant NCP_VOLNAME_LEN.
Notes
Notes: svn path=/head/; revision=52229
Diffstat (limited to 'sys/fs')
-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 56a324137b1d..45cce7d3fa2c 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;