summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2015-03-22 09:09:26 +0000
committerkib <kib@FreeBSD.org>2015-03-22 09:09:26 +0000
commit89382b6533d2fd694195b6f534563993a4741fa4 (patch)
treea7d8d0e766cd720b57371c3fc81e223db904379b /sys/fs
parent4f01a4a8e384ea63b9e718cfa2a433f4d3513233 (diff)
downloadFreeBSD-src-89382b6533d2fd694195b6f534563993a4741fa4.zip
FreeBSD-src-89382b6533d2fd694195b6f534563993a4741fa4.tar.gz
msdosfs: mark unused compat-mount fields
The magic number MSDOSFS_ARGSMAGIC, which used to distinguish "old" vs "new" msdosfs mount arguments, has not been used since 2005; it should just go away now. Likewise, the local-to-Unicode table that changed at the same time is unused. Leave the space reserved in the old style mount arguments, though, since we still support the old mount call (via the cmount entry point). Submitted by: Chris Torek <chris.torek@gmail.com> MFC after: 2 weeks
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/msdosfs/msdosfsmount.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/fs/msdosfs/msdosfsmount.h b/sys/fs/msdosfs/msdosfsmount.h
index 10ed95b..9446a3e 100644
--- a/sys/fs/msdosfs/msdosfsmount.h
+++ b/sys/fs/msdosfs/msdosfsmount.h
@@ -239,8 +239,8 @@ struct msdosfs_args {
gid_t gid; /* gid that owns msdosfs files */
mode_t mask; /* file mask to be applied for msdosfs perms */
int flags; /* see below */
- int magic; /* version number */
- u_int16_t u2w[128]; /* Local->Unicode table */
+ int unused1; /* unused, was version number */
+ u_int16_t unused2[128]; /* no longer used, was Local->Unicode table */
char *cs_win; /* Windows(Unicode) Charset */
char *cs_dos; /* DOS Charset */
char *cs_local; /* Local Charset */
@@ -264,6 +264,4 @@ struct msdosfs_args {
#define MSDOSFS_LARGEFS 0x10000000 /* perform fileno mapping */
#define MSDOSFS_FSIMOD 0x01000000
-#define MSDOSFS_ARGSMAGIC 0xe4eff300
-
#endif /* !_MSDOSFS_MSDOSFSMOUNT_H_ */
OpenPOWER on IntegriCloud