[CRIU] [PATCH 3/3] devmap: mountpoint -- Allow to open mountpoint for mapped devices

Cyrill Gorcunov gorcunov at gmail.com
Wed Nov 25 01:24:05 PST 2015


On Wed, Nov 25, 2015 at 12:15:03PM +0300, Pavel Emelyanov wrote:
> >  
> >  	dev = phys_stat_resolve_dev(pm->nsid, st.st_dev, pm->ns_mountpoint + 1);
> > -	if (dev != pm->s_dev) {
> > +	if (dev != pm->s_dev && !devmap_match(dev, pm->s_dev, &opts)) {
> 
> Do we have only one place that compares devices on restore?

I think so. Maybe some vague places left in unix-socket module and|or kerndat,
need to recheck. Thanks.


More information about the CRIU mailing list