Fix the sense of the vn_isdisk() check.
This commit is contained in:
parent
523df07b14
commit
fd559c6fc1
@ -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…
Reference in New Issue
Block a user