freebsd-skq/sys/compat
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
..
freebsd32 Extend the "vfsopt" mount options for more general use. Make struct 2009-03-02 23:26:30 +00:00
ia32 Add sv_flags field to struct sysentvec with intention to provide description 2008-11-22 12:36:15 +00:00
linprocfs For all files including net/vnet.h directly include opt_route.h and 2009-02-27 14:12:05 +00:00
linsysfs Add a pn_destroy field to pfs_node. This field points to a destructor 2007-03-12 12:16:52 +00:00
linux For all files including net/vnet.h directly include opt_route.h and 2009-02-27 14:12:05 +00:00
ndis Change the functions to ANSI in those cases where it breaks promotion 2009-02-24 18:09:31 +00:00
netbsd Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
svr4 For all files including net/vnet.h directly include opt_route.h and 2009-02-27 14:12:05 +00:00