Fix the sense of the vn_isdisk() check.

This commit is contained in:
Poul-Henning Kamp 1999-09-01 15:17:18 +00:00
parent 523df07b14
commit fd559c6fc1
2 changed files with 2 additions and 2 deletions

View File

@ -290,7 +290,7 @@ ntfs_mount (
devvp = ndp->ni_vp;
if (vn_isdisk(devvp)) {
if (!vn_isdisk(devvp)) {
err = ENOTBLK;
goto error_2;
}

View File

@ -290,7 +290,7 @@ ntfs_mount (
devvp = ndp->ni_vp;
if (vn_isdisk(devvp)) {
if (!vn_isdisk(devvp)) {
err = ENOTBLK;
goto error_2;
}