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
2018-01-24 16:37:29 +00:00
2018-02-03 20:53:21 +00:00
2018-01-17 16:55:35 +00:00
2018-02-08 14:53:34 +00:00
2018-02-12 14:44:21 +00:00