FS interface API doc: More details for unmount()
This commit is contained in:
@@ -325,8 +325,11 @@
|
|||||||
|
|
||||||
Invoked by the VFS when it is asked to unmount the volume. The function must
|
Invoked by the VFS when it is asked to unmount the volume. The function must
|
||||||
free all resources associated with the mounted volume, including the volume
|
free all resources associated with the mounted volume, including the volume
|
||||||
handle. Although the mount() hook called publish_vnode() for the root node
|
handle. Before unmount() is called, the VFS calls
|
||||||
of the volume, unmount() must not invoke put_vnode().
|
file_system_module_info::put_vnode() respectively
|
||||||
|
file_system_module_info::remove_vnode() for each of the volume's nodes. That
|
||||||
|
is although the mount() hook called publish_vnode() for the volume's root
|
||||||
|
node, unmount() must not invoke put_vnode().
|
||||||
|
|
||||||
\param volume The volume object.
|
\param volume The volume object.
|
||||||
\return \c B_OK if everything went fine, another error code otherwise. The
|
\return \c B_OK if everything went fine, another error code otherwise. The
|
||||||
|
|||||||
Reference in New Issue
Block a user