From man 2 umount: MNT_DETACH (since Linux 2.4.11) Perform a lazy unmount: make the mount point unavailable for new accesses, immediately disconnect the filesystem and all filesystems mounted below it from each other and from the mount table, and actually perform the unmount when the mount point ceases to be busy. So we don't need to unmount the filesystems under it one by one. Bug: 113796163 Test: atest android.appsecurity.cts.PermissionsHostTest#testInteractiveGrant23 Change-Id: I6a0422466a9865ff6d17122505ca73d041de9d54gugelfrei
parent
6aaedb0dca
commit
4df104f335
Loading…
Reference in new issue