I would like to modify the code to always use the try_umount function. Why? No disadvantages, less, cleaner code, simpler code because no need to check any complex conditions.
Check if there's a mount, if there's not then that's fine, nothing to do, "return 0". Otherwise, try to umount it.
I would like to modify the code to always use the try_umount function. Why? No disadvantages, less, cleaner code, simpler code because no need to check any complex conditions.
Check if there's a mount, if there's not then that's fine, nothing to do, "
return 0
". Otherwise, try to umount it.I'll propose a PR.