[CRIU] [PATCH] fsnotify: Use mnt_id when restoring mount mark

Pavel Emelyanov xemul at parallels.com
Fri May 23 02:31:59 PDT 2014


On 05/21/2014 01:43 PM, Andrew Vagin wrote:
> On Wed, May 21, 2014 at 11:22:39AM +0400, Cyrill Gorcunov wrote:
>> When there is a bind mount present on same mountpoint
>> where mark is laying the device of both mountpoints
>> is the same so we might end up getting wrong mountpoint.
>> Instead we should used mount id which is unique among
>> all mounpoints.
>>
>> Note it's a fast fix, I need to review fsnotify code
>> more and make sure all corner cases are covered.
>>
>> https://bugzilla.openvz.org/show_bug.cgi?id=2974
>>
>> Reported-by: Andrey Vagin <avagin at openvz.org>
>> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> 
> Acked-by: Andrew Vagin <avagin at parallels.com>

Applied, thanks


More information about the CRIU mailing list