kernel: Utilise the existing try_umount to avoid repackaging

This commit is contained in:
ShirkNeko
2025-11-15 19:29:12 +08:00
parent cd21af6728
commit 46846dce91
4 changed files with 8 additions and 56 deletions

View File

@@ -71,7 +71,7 @@ static void ksu_umount_mnt(struct path *path, int flags)
}
}
static void try_umount(const char *mnt, bool check_mnt, int flags)
void try_umount(const char *mnt, bool check_mnt, int flags)
{
struct path path;
int err = kern_path(mnt, 0, &path);