summaryrefslogtreecommitdiffstats
path: root/share/syscons
diff options
context:
space:
mode:
authorrmacklem <rmacklem@FreeBSD.org>2011-09-13 21:01:26 +0000
committerrmacklem <rmacklem@FreeBSD.org>2011-09-13 21:01:26 +0000
commit99f390a4e8015ddd72e91fd20840ca3847704ec6 (patch)
tree85cd8ef66ff4280d4897da2da74aae892c01d3fb /share/syscons
parentd35d0d3c95dfa04aa8c0a53cc36c0491dd9f4f18 (diff)
downloadFreeBSD-src-99f390a4e8015ddd72e91fd20840ca3847704ec6.zip
FreeBSD-src-99f390a4e8015ddd72e91fd20840ca3847704ec6.tar.gz
Modify vfs_register() to use a hash calculation
on vfc_name to set vfc_typenum, so that vfc_typenum doesn't change when file systems are loaded in different orders. This keeps NFS file handles from changing, for file systems that use vfc_typenum in their fsid. This change is controlled via a loader.conf variable called vfs.typenumhash, since vfc_typenum will change once when this is enabled. It defaults to 1 for 9.0, but will default to 0 when MFC'd to stable/8. Tested by: hrs Reviewed by: jhb, pjd (earlier version) Approved by: re (kib) MFC after: 1 month
Diffstat (limited to 'share/syscons')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud