diff --git a/sys/kern/vfs_default.c b/sys/kern/vfs_default.c index a173a6356833..08f2953130d0 100644 --- a/sys/kern/vfs_default.c +++ b/sys/kern/vfs_default.c @@ -406,7 +406,7 @@ retry: if ((error = VOP_GETATTR(vp, &vat, cred, td)) != 0) goto retn; object = vnode_pager_alloc(vp, vat.va_size, 0, 0); - } else if (vn_isdisk(vp)) { + } else if (vn_isdisk(vp, NULL)) { /* * This simply allocates the biggest object possible * for a disk vnode. This should be fixed, but doesn't