pub fn sys_fs_umount(trapframe: &mut Trapframe) -> usizeExpand description
Unmount a filesystem (FsUmount)
This system call unmounts a filesystem at the specified path.
§Arguments
trapframe.get_arg(0)- Pointer to target path to unmounttrapframe.get_arg(1)- Unmount flags (reserved for future use)
§Returns
0on successusize::MAXon error (path not found, filesystem busy, etc.)