[CRIU] [PATCH 8/9] mount: Introduce BTRFS engine

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


On Tue, Dec 03, 2013 at 10:45:56PM +0400, Pavel Emelyanov wrote:
> 
> The parse_entry() doesn't honor overmounts. Add this FIXME.

OK.

> With that logic we don't need to do *dev = <something else>; as
> we expect it to be vfs_dev. This routine should look like this instead
> 
> bool is_btrfs_volume(dev_t vol_id, dev_t dev_id)
> {
> 	m = lookup_mnt_sdev(dev_id);
> 	if (!m->private)
> 		btrfs_parse_entry(m);
> 	return btrfs_node_lookup_dev(m->private, vol_id) != NULL;
> }
> 
> and callers should be fixed respectively.

Sure, thanks.


More information about the CRIU mailing list