diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-11-09 22:21:10 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-11-09 22:21:10 +0000 |
| commit | 64042a76b6bf7e6b13ddca3c9f79e07bca3b3533 (patch) | |
| tree | a0898a9eb72f91239f4c43f21404a108a77b4bc4 /sys/nfs4client | |
| parent | b0aed5267e8ee7057cb3ced36deaaa45093e667e (diff) | |
Notes
Diffstat (limited to 'sys/nfs4client')
| -rw-r--r-- | sys/nfs4client/nfs4_vfsops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nfs4client/nfs4_vfsops.c b/sys/nfs4client/nfs4_vfsops.c index 6732c8c44785..24ba1af15b3a 100644 --- a/sys/nfs4client/nfs4_vfsops.c +++ b/sys/nfs4client/nfs4_vfsops.c @@ -393,7 +393,7 @@ nfs_omount(struct mount *mp, char *path, caddr_t data, struct thread *td) char hst[MNAMELEN]; size_t len; - if (path == NULL) { + if (mp->mnt_flag & MNT_ROOTFS) { printf("NFSv4: nfs_mountroot not supported\n"); return EINVAL; } |
