diff options
Diffstat (limited to 'sys/fs/smbfs/smbfs_vfsops.c')
-rw-r--r-- | sys/fs/smbfs/smbfs_vfsops.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/fs/smbfs/smbfs_vfsops.c b/sys/fs/smbfs/smbfs_vfsops.c index 17ce21d..753efe8 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"); |