kernel: umount by lazy

This commit is contained in:
tiann
2023-05-02 00:12:01 +08:00
parent d9d27b4229
commit 67667b6df2

View File

@@ -385,7 +385,7 @@ static void try_umount(const char *mnt)
} }
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 9, 0) #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 9, 0)
err = path_umount(&path, 0); err = path_umount(&path, MNT_DETACH);
if (err) { if (err) {
pr_info("umount %s failed: %d\n", mnt, err); pr_info("umount %s failed: %d\n", mnt, err);
} }