diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-05-31 11:29:30 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-05-31 11:29:30 +0000 |
commit | 2447bec8293649f281b5f9926a7cd4097ccaf4bf (patch) | |
tree | f7694bd7dc78280030c80d074ef35b7f539ff9ca /sys/fs/ntfs/ntfs_vfsops.c | |
parent | db453b16791eca0888057e429ec55ab2c1e14af9 (diff) | |
download | src-test2-2447bec8293649f281b5f9926a7cd4097ccaf4bf.tar.gz src-test2-2447bec8293649f281b5f9926a7cd4097ccaf4bf.zip |
Notes
Diffstat (limited to 'sys/fs/ntfs/ntfs_vfsops.c')
-rw-r--r-- | sys/fs/ntfs/ntfs_vfsops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/ntfs/ntfs_vfsops.c b/sys/fs/ntfs/ntfs_vfsops.c index 134ca03d28f9..b224001ffc68 100644 --- a/sys/fs/ntfs/ntfs_vfsops.c +++ b/sys/fs/ntfs/ntfs_vfsops.c @@ -25,7 +25,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: ntfs_vfsops.c,v 1.5 1999/05/11 19:54:52 phk Exp $ + * $Id: ntfs_vfsops.c,v 1.6 1999/05/12 09:43:04 semenu Exp $ */ @@ -296,7 +296,7 @@ ntfs_mount ( err = ENOTBLK; goto error_2; } - if (major(devvp->v_rdev) >= nblkdev) { + if (bdevsw(devvp->v_rdev) == NULL) { err = ENXIO; goto error_2; } |