John Baldwin 34ed0c63c8 Rename the 'flags' argument to getfsstat() to 'mode' and validate it.
This argument is not a bitmask of flags, but only accepts a single value.
Fail with EINVAL if an invalid value is passed to 'flag'.  Rename the
'flags' argument to getmntinfo(3) to 'mode' as well to match.

This is a followup to r308088.

Reviewed by:	kib
MFC after:	1 month
2016-12-27 20:21:11 +00:00
..
2016-08-18 06:39:09 +00:00
2016-09-30 15:47:13 +00:00
2016-09-30 13:04:18 +00:00
2016-10-06 17:35:50 +00:00
2016-08-29 19:53:13 +00:00
2016-08-29 18:47:51 +00:00
2016-08-18 06:39:09 +00:00
2016-08-18 06:39:09 +00:00
2016-09-30 16:02:25 +00:00