]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add an FFS specific mount option to allow a filesystem checker
authorKirk McKusick <mckusick@FreeBSD.org>
Fri, 15 Jul 2011 16:20:33 +0000 (16:20 +0000)
committerKirk McKusick <mckusick@FreeBSD.org>
Fri, 15 Jul 2011 16:20:33 +0000 (16:20 +0000)
commit927a12ae16433b501c586c08356c0a40c8478137
treee87078f33cf4278b1800e57f6848d440f4f065cc
parentfde3956e27a3a10533c8f7d2d309b95ee66010e4
Add an FFS specific mount option to allow a filesystem checker
(typically fsck_ffs) to register that it wishes to use FFS specific
sysctl's to update the filesystem. This ensures that two checkers
cannot run on a given filesystem at the same time and that no other
process accidentally or maliciously uses the filesystem updating
sysctls inappropriately. This functionality is needed by the
journaling soft-updates recovery code.
sys/ufs/ffs/ffs_alloc.c
sys/ufs/ffs/ffs_inode.c
sys/ufs/ffs/ffs_vfsops.c
sys/ufs/ffs/fs.h
sys/ufs/ufs/ufsmount.h