[CRIU] [PATCH 6/7] inotify: Use ghost files if the watchee is a deleted file
Cyrill Gorcunov
gorcunov at openvz.org
Mon Dec 3 14:26:09 EST 2012
On Mon, Dec 03, 2012 at 10:55:55PM +0400, Pavel Emelyanov wrote:
>
> > + gf = lookup_ghost_file_st(kdev_to_odev(iwe->s_dev), iwe->i_ino);
>
> Why kdev_to_odev? The device should be in one format on both sides.
Because fdinfo provides kernel's device while in ghost files we do use
one obtained from stat call, so I needed to make a conversion here.
More information about the CRIU
mailing list