- Make sure there's space left in the vmnt table for another mount point.
- Increase mount point limit.
This commit is contained in:
parent
551374c228
commit
c8cfcab5db
@ -1,7 +1,7 @@
|
||||
/* 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 */
|
||||
|
@ -242,6 +242,9 @@ PRIVATE int mount_fs(endpoint_t fs_e)
|
||||
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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user