Rick Macklem f9122b6488 Fix an NFS mount attempt where VFS_STATFS() fails.
r353150 added mnt_rootvnode and this seems to have broken NFS mounts when the
VFS_STATFS() called just after VFS_MOUNT() returns an error.
Then the code calls VFS_UNMOUNT(), which calls vflush(), which returns EBUSY.
Then the thread get stuck sleeping on "mntref" in vfs_mount_destroy().
This patch fixes this problem.

Reviewed by:	kib, mjg
Differential Revision:	https://reviews.freebsd.org/D24022
2020-03-22 18:18:30 +00:00
..
2020-02-20 16:58:19 +00:00
2020-03-20 16:15:45 +00:00
2020-03-20 21:06:58 +00:00
2020-03-22 11:44:24 +00:00
2020-03-20 16:50:19 +00:00
2020-03-20 21:06:58 +00:00
2020-03-14 20:13:42 +00:00
2020-03-04 22:32:40 +00:00
2020-03-01 23:01:37 +00:00
2020-03-16 12:33:57 +00:00
2020-03-22 17:59:36 +00:00
2020-02-03 17:35:11 +00:00