aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2017-06-09 12:06:22 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2017-06-09 12:06:22 +0000
commit40373cf5b87fe5ac39830b31f28994b6729b3215 (patch)
tree5dbb82910e7d6504230eb0ad8e5bc7e4acae8c40 /sys/modules
parent7abe0df2233f76b0cd49e7ed1b1e70085f5f0cfb (diff)
downloadsrc-40373cf5b87fe5ac39830b31f28994b6729b3215.tar.gz
src-40373cf5b87fe5ac39830b31f28994b6729b3215.zip
Remove msdosfs -o large support.
Its purpose was to translate the values for msdosfs inode numbers, which is calculated from the msdosfs structures describing the file, into the range representable by 32bit ino_t. The translation acted for filesystems larger than 128Gb, it reserved the range 0xf0000000 (FILENO_FIRST_DYN) to UINT32_MAX and remembered some arbitrary translation of ino >= FILENO_FIRST_DYN into this range. It consumed memory that could be only freed by unmount, and the translation was not stable across remounts. With ino_t type extended to 64 bit, there is no such issue and values can be returned without compaction to 32bit. That is, for the native environments, the translation layer is not necessary and adds significant undeserved code complexity. For compat ABIs which use 32bit ino_t, the vfs.ino64_trunc_error sysctl provides some measures to soften the failure mode when inode numbers truncation is not safe. Discussed with: bde Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=319735
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/msdosfs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/msdosfs/Makefile b/sys/modules/msdosfs/Makefile
index 0ba4e47e9c3f..3a0f478cfd57 100644
--- a/sys/modules/msdosfs/Makefile
+++ b/sys/modules/msdosfs/Makefile
@@ -4,7 +4,7 @@
KMOD= msdosfs
SRCS= vnode_if.h \
- msdosfs_conv.c msdosfs_denode.c msdosfs_fat.c msdosfs_fileno.c \
+ msdosfs_conv.c msdosfs_denode.c msdosfs_fat.c \
msdosfs_lookup.c msdosfs_vfsops.c msdosfs_vnops.c
EXPORT_SYMS= msdosfs_iconv