[CRIU] [PATCH] util: use glibc macros to generate device numbers in the dev_t format

Pavel Emelyanov xemul at parallels.com
Wed May 7 10:02:53 PDT 2014


On 05/05/2014 02:26 PM, Andrey Vagin wrote:
> Our version of macroses are worng.
> 
> Our macros:
> 
> Glibc function:
> return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
> 
> Reported-by: Amey Deshpande <ameyd at google.com>
> Signed-off-by: Andrey Vagin <avagin at openvz.org>
> ---

applied


More information about the CRIU mailing list