summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2003-04-01 02:42:02 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2003-04-01 02:42:02 +0000
commit788fc48e321a1c291ffd42045e5097f15ea1034c (patch)
tree2311cf8e2c4e548bbd82e040f09e2d590daa8cf7
parenta31794d5538f7a7426d091fa78d1a0d74e51467c (diff)
Notes
-rw-r--r--sys/fs/smbfs/smbfs_vfsops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/fs/smbfs/smbfs_vfsops.c b/sys/fs/smbfs/smbfs_vfsops.c
index 17ce21dd9d74..753efe8a4f6e 100644
--- a/sys/fs/smbfs/smbfs_vfsops.c
+++ b/sys/fs/smbfs/smbfs_vfsops.c
@@ -155,7 +155,8 @@ smbfs_mount(struct mount *mp, char *path, caddr_t data,
#ifdef SMBFS_USEZONE
smp = zalloc(smbfsmount_zone);
#else
- MALLOC(smp, struct smbmount*, sizeof(*smp), M_SMBFSDATA, M_USE_RESERVE);
+ MALLOC(smp, struct smbmount*, sizeof(*smp), M_SMBFSDATA,
+ M_WAITOK|M_USE_RESERVE);
#endif
if (smp == NULL) {
printf("could not alloc smbmount\n");