Merge remote-tracking branch 'origin/main'

This commit is contained in:
Hosted Weblate
2025-06-13 07:26:54 +02:00

View File

@@ -541,11 +541,13 @@ static void try_umount(const char *mnt, bool check_mnt, int flags)
if (path.dentry != path.mnt->mnt_root) {
// it is not root mountpoint, maybe umounted by others already.
path_put(&path);
return;
}
// we are only interest in some specific mounts
if (check_mnt && !should_umount(&path)) {
path_put(&path);
return;
}