[CRIU] [PATCH 3/4] mount: btrfs -- Introduce phys_stat_resolve_dev helper (v2)

Cyrill Gorcunov gorcunov at gmail.com
Tue Dec 10 22:30:22 PST 2013


On Wed, Dec 11, 2013 at 09:04:14AM +0400, Andrew Vagin wrote:
> From: Cyrill Gorcunov <gorcunov at openvz.org>
> 
> This routine is aimed to find a mount point on which
> the path passed as argument is laying on. We walk over
> all mount points and see which one is matching.
> 
> Once found (in worst case it will be a root mount point
> so function is never failing) we're checking if this is
> btrfs and then return subvolume0 device id.
> 
> See commit 921cf873f30ad35df2b65602ed402f94695a6eb3
> for details what the hell we're doing here.
> 
> v2: rewrite mount_resolve_path w/o recursion
> 
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> Signed-off-by: Andrew Vagin <avagin at openvz.org>

Thanks, Andrew!


More information about the CRIU mailing list