[Devel] [PATCH vz10 v2 2/3] fs: report the locks of a mount in statmount()
no-reply at sashiko.virtuozzo.com
no-reply at sashiko.virtuozzo.com
Mon Nov 16 09:17:02 MSK 2026
> The locks a mount carries cannot be read back, so criu cannot dump them
> and a restored container gets its mounts back unlocked.
>
> Report them in the mnt_attr of statmount(), as the MOUNT_ATTR_VE_LOCK_*
> attributes that raise them, whether the host raised them or the kernel
> did, as lock_mnt_tree() does on a mount copied across user namespaces.
> MNT_LOCK_ATIME has no such attribute and is not reported.
>
> Feature: ve: ve generic structures
> https://virtuozzo.atlassian.net/browse/VSTOR-155305
> Signed-off-by: Mirian Shilakadze <mirian.shilakadze at virtuozzo.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261116061256.54472-1-mirian.shilakadze@virtuozzo.com?part=2
More information about the Devel
mailing list