- Increase mount point limit.
/* Tables sizes */
#define NR_FILPS 512 /* # slots in filp table */
#define NR_LOCKS 8 /* # slots in the file locking table */
-#define NR_MNTS 8 /* # slots in mount table */
+#define NR_MNTS 16 /* # slots in mount table */
#define NR_VNODES 512 /* # slots in vnode table */
#define NR_NONEDEVS NR_MNTS /* # slots in nonedev bitmap */
if (nodev) alloc_nonedev(dev); /* Make the allocation final */
return(OK);
+ } else if (vmp == NULL) {
+ /* No free slot available, bail out */
+ return(ENOMEM);
}
/* Fetch the name of the mountpoint */