vm_umount Kernel Service
Purpose
Removes a file system from the paging device table.
Syntax
Parameters
Item | Description |
---|---|
type | Specifies the
type of device. You can specify multiple values.
But the type parameter must have a value of D_REMOTE as
one of its values. You can also specify the following optional value:
|
devid | Points to the strategy routine. |
Description
The vm_umount kernel service waits for all I/O for the device scheduled by the pager to finish. This service then frees the entry in the paging device table. The associated buf structures are also freed.
Execution Environment
The vm_umount kernel service can be called from the process environment only.
Return Values
Item | Description |
---|---|
0 | Indicates successful completion. |
EINVAL | Indicates that a file system with the strategy routine designated by the devid parameter is not in the paging device table. |