kern - aio - Add missing flags to objcache_get()
authorSamuel J. Greear <sjg@thesjg.com>
Sat, 5 Feb 2011 08:25:39 +0000 (08:25 +0000)
committerSamuel J. Greear <sjg@thesjg.com>
Sat, 5 Feb 2011 08:25:39 +0000 (08:25 +0000)
sys/kern/vfs_aio.c

index 4fd9542..04c370b 100644 (file)
@@ -1850,7 +1850,7 @@ sys_lio_listio(struct lio_listio_args *uap)
                goto done;
        }
 
-       lj = objcache_get(aiolio_oc);
+       lj = objcache_get(aiolio_oc, M_WAITOK);
        if (lj == NULL) {
                error = EAGAIN;
                goto done;