freebsd-dev/sys/cddl
Jamie Gritton f86bce5ed0 Extend the "vfsopt" mount options for more general use. Make struct
vfsopt and the vfs_buildopts function public, and add some new fields
to struct vfsopt (pos and seen), and new functions vfs_getopt_pos and
vfs_opterror.

Further extend the interface to allow reading options from the kernel
in addition to sending them to the kernel, with vfs_setopt and related
functions.

While this allows the "name=value" option interface to be used for more
than just FS mounts (planned use is for jails), it retains the current
"vfsopt" name and <sys/mount.h> requirement.

Approved by:	bz (mentor)
2009-03-02 23:26:30 +00:00
..
boot/zfs Add definitions for ZFS pool version 13. 2008-11-21 09:10:35 +00:00
compat/opensolaris Extend the "vfsopt" mount options for more general use. Make struct 2009-03-02 23:26:30 +00:00
contrib/opensolaris Use shared vnode locks when invoking VOP_READDIR(). 2009-02-13 18:18:14 +00:00
dev Remove unused variable. 2008-11-25 19:25:54 +00:00