summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_extattr.c
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>2000-09-14 18:11:44 +0000
committereivind <eivind@FreeBSD.org>2000-09-14 18:11:44 +0000
commit957c331f7ff50a2fcd8e34a536fe0d75f2147589 (patch)
treec8c36f06a6575d50432a9b55bb847271e53c8b34 /sys/kern/vfs_extattr.c
parent3ca5232d936eab25c7b7bd137d597d3ff231ba3a (diff)
downloadFreeBSD-src-957c331f7ff50a2fcd8e34a536fe0d75f2147589.zip
FreeBSD-src-957c331f7ff50a2fcd8e34a536fe0d75f2147589.tar.gz
Blow away COMPAT_43 support for mount
Diffstat (limited to 'sys/kern/vfs_extattr.c')
-rw-r--r--sys/kern/vfs_extattr.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/sys/kern/vfs_extattr.c b/sys/kern/vfs_extattr.c
index 4064fa3..8f4d20b 100644
--- a/sys/kern/vfs_extattr.c
+++ b/sys/kern/vfs_extattr.c
@@ -117,9 +117,6 @@ mount(p, uap)
struct vfsconf *vfsp;
int error, flag = 0, flag2 = 0;
struct vattr va;
-#ifdef COMPAT_43
- u_long fstypenum;
-#endif
struct nameidata nd;
char fstypename[MFSNAMELEN];
@@ -210,24 +207,6 @@ mount(p, uap)
vput(vp);
return (ENOTDIR);
}
-#ifdef COMPAT_43
- /*
- * Historically filesystem types were identified by number. If we
- * get an integer for the filesystem type instead of a string, we
- * check to see if it matches one of the historic filesystem types.
- */
- fstypenum = (uintptr_t)SCARG(uap, type);
- if (fstypenum < maxvfsconf) {
- for (vfsp = vfsconf; vfsp; vfsp = vfsp->vfc_next)
- if (vfsp->vfc_typenum == fstypenum)
- break;
- if (vfsp == NULL) {
- vput(vp);
- return (ENODEV);
- }
- strncpy(fstypename, vfsp->vfc_name, MFSNAMELEN);
- } else
-#endif /* COMPAT_43 */
if ((error = copyinstr(SCARG(uap, type), fstypename, MFSNAMELEN, NULL)) != 0) {
vput(vp);
return (error);
OpenPOWER on IntegriCloud