freebsd-skq/sys/fs
Hans Petter Selasky f0188618f2 Fix multiple incorrect SYSCTL arguments in the kernel:
- Wrong integer type was specified.

- Wrong or missing "access" specifier. The "access" specifier
sometimes included the SYSCTL type, which it should not, except for
procedural SYSCTL nodes.

- Logical OR where binary OR was expected.

- Properly assert the "access" argument passed to all SYSCTL macros,
using the CTASSERT macro. This applies to both static- and dynamically
created SYSCTLs.

- Properly assert the the data type for both static and dynamic
SYSCTLs. In the case of static SYSCTLs we only assert that the data
pointed to by the SYSCTL data pointer has the correct size, hence
there is no easy way to assert types in the C language outside a
C-function.

- Rewrote some code which doesn't pass a constant "access" specifier
when creating dynamic SYSCTL nodes, which is now a requirement.

- Updated "EXAMPLES" section in SYSCTL manual page.

MFC after:	3 days
Sponsored by:	Mellanox Technologies
2014-10-21 07:31:21 +00:00
..
autofs Remove useless debug. 2014-10-17 12:06:48 +00:00
cd9660
cuse
deadfs Style changes for deadfs: 2014-10-15 13:22:33 +00:00
devfs Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
ext2fs Do not set IN_ACCESS flag for read-only mounts. The IN_ACCESS 2014-10-11 19:09:56 +00:00
fdescfs
fifofs
fuse Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
msdosfs Do not set IN_ACCESS flag for read-only mounts. The IN_ACCESS 2014-10-11 19:09:56 +00:00
nandfs
nfs Fix failures and warnings reported by newpynfs20090424 test tool. 2014-10-03 02:24:41 +00:00
nfsclient Follow up to r225617. In order to maximize the re-usability of kernel code 2014-10-16 18:04:43 +00:00
nfsserver Make the sysctl(8) for checkutf8 positively defined and improve 2014-10-17 02:11:09 +00:00
nullfs Provide vfs suspension support only for filesystems which need it, take 2014-10-20 18:00:50 +00:00
procfs
pseudofs
smbfs Remove unused arguments for VOP_GETPAGES(), VOP_PUTPAGES(). 2014-09-10 12:36:41 +00:00
tmpfs Provide vfs suspension support only for filesystems which need it, take 2014-10-20 18:00:50 +00:00
udf
unionfs Provide vfs suspension support only for filesystems which need it, take 2014-10-20 18:00:50 +00:00