Function sys_fs_umount

Source
pub fn sys_fs_umount(trapframe: &mut Trapframe) -> usize
Expand 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 unmount
  • trapframe.get_arg(1) - Unmount flags (reserved for future use)

§Returns

  • 0 on success
  • usize::MAX on error (path not found, filesystem busy, etc.)