fixup! Suggest non-gki kernel users to backport path_umount (#1477)
My bad. as reported by @AzusaHana on tg 
This commit is contained in:
@@ -521,7 +521,7 @@ static bool should_umount(struct path *path)
|
||||
|
||||
static void ksu_umount_mnt(struct path *path, int flags)
|
||||
{
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 9, 0) || KSU_UMOUNT
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 9, 0) || defined(KSU_UMOUNT)
|
||||
int err = path_umount(path, flags);
|
||||
if (err) {
|
||||
pr_info("umount %s failed: %d\n", path->dentry->d_iname, err);
|
||||
|
||||
Reference in New Issue
Block a user