mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix the sense of the vn_isdisk() check.
This commit is contained in:
parent
523df07b14
commit
fd559c6fc1
2 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue