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-06-04 20:20:14 +00:00
2016-08-18 06:39:09 +00:00
2016-09-30 15:47:13 +00:00
2015-10-20 23:52:37 +00:00
2013-08-16 13:16:27 +00:00
2016-03-09 13:45:03 +00:00
2016-02-29 17:20:04 +00:00
2016-09-30 13:04:18 +00:00
2015-03-29 19:14:41 +00:00
2016-10-06 17:35:50 +00:00
2016-02-18 18:50:03 +00:00
2014-05-30 02:16:28 +00:00
2016-03-18 08:47:17 +00:00
2016-08-29 19:53:13 +00:00
2016-08-29 18:47:51 +00:00
2016-02-29 17:22:34 +00:00
2016-08-18 06:39:09 +00:00
2016-08-18 06:39:09 +00:00
2015-02-07 13:11:45 +00:00
2016-09-30 16:02:25 +00:00
2016-01-18 20:21:38 +00:00