We need to make sure FSUnmount is only called with a valid target. Calling FSUnmount with an invalid target causes the FS to throw fatal error, softlocking the whole console:
00;02;09;520: FS: FSUnmount: target specifies invalid mount path.
00;02;09;520: FS: Updated volume state of client 0x80cfbd80 to FS_VOLSTATE_FATAL(10)
00;02;09;520: FS: by error -196641.
00;02;09;520: FS: Fatal error occured.
We need to make sure FSUnmount is only called with a valid target. Calling FSUnmount with an invalid target causes the FS to throw fatal error, softlocking the whole console: