Fix the sense of the vn_isdisk() check.
This commit is contained in:
parent
64012538c9
commit
32dbcab94c
@ -290,7 +290,7 @@ ntfs_mount (
|
||||
|
||||
devvp = ndp->ni_vp;
|
||||
|
||||
if (vn_isdisk(devvp)) {
|
||||
if (!vn_isdisk(devvp)) {
|
||||
err = ENOTBLK;
|
||||
goto error_2;
|
||||
}
|
||||
|
@ -290,7 +290,7 @@ ntfs_mount (
|
||||
|
||||
devvp = ndp->ni_vp;
|
||||
|
||||
if (vn_isdisk(devvp)) {
|
||||
if (!vn_isdisk(devvp)) {
|
||||
err = ENOTBLK;
|
||||
goto error_2;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user