Ravi Pokala b235f015f8 mountd: Return proper errno values in a few error paths
When attempting to mount a non-directory which exists, return ENOTDIR instead
of ENOENT. If stat() or statfs() failed, don't pass part of the invalid
(struct statfs) to ex_search(). In that same case, preserve the value of "bad"
rather than overwriting with EACCES.

Submitted by:	Bruce Leverett (Panasas)
Reviewed by:	rmacklem
MFC after:	1 week
Sponsored by:	Panasas
Differential Revision:	https://reviews.freebsd.org/D14438
2018-02-21 00:19:02 +00:00
..
2018-02-09 21:49:38 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2017-10-29 08:17:03 +00:00
2017-11-30 20:33:45 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2018-01-24 16:37:29 +00:00
2017-11-30 20:33:45 +00:00
2018-01-05 08:29:32 +00:00
2017-12-28 05:34:04 +00:00
2018-01-02 16:50:57 +00:00
2017-10-29 08:17:03 +00:00
2017-10-31 00:07:04 +00:00
2018-02-03 20:53:21 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2017-12-28 01:31:28 +00:00
2018-01-17 16:55:35 +00:00
2018-02-08 14:53:34 +00:00
2017-10-31 00:07:04 +00:00
2018-02-12 14:44:21 +00:00