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
This commit is contained in:
parent
75fa40f89c
commit
c66d17c7bc
@ -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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user