summaryrefslogtreecommitdiffstats
path: root/sys/fs/coda/cnode.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/coda/cnode.h')
-rw-r--r--sys/fs/coda/cnode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/coda/cnode.h b/sys/fs/coda/cnode.h
index 8d0cebe..962d329 100644
--- a/sys/fs/coda/cnode.h
+++ b/sys/fs/coda/cnode.h
@@ -66,7 +66,7 @@ MALLOC_DECLARE(M_CODA);
#define CODA_ALLOC(ptr, cast, size) \
do { \
- ptr = (cast)malloc((unsigned long) size, M_CODA, 0); \
+ ptr = (cast)malloc((unsigned long) size, M_CODA, M_WAITOK); \
if (ptr == 0) { \
panic("kernel malloc returns 0 at %s:%d\n", __FILE__, __LINE__); \
} \
OpenPOWER on IntegriCloud