Pass seperate dev_t var to device_path_parse_major_minor
authorYunQiang Su <syq@debian.org>
Tue, 25 Dec 2018 11:01:17 +0000 (19:01 +0800)
committerMichael Biebl <biebl@debian.org>
Thu, 27 Dec 2018 13:03:57 +0000 (13:03 +0000)
commit9f39a290e2498a7e86682d2f09672b20339687fd
tree3407c6f004c786ad8d38d98feb3504bf83f72eb8
parent77f8127122600396032c34b239907b5d7b1c3ef6
Pass seperate dev_t var to device_path_parse_major_minor

MIPS/O32's st_rdev member of struct stat is unsigned long, which
is 32bit, while dev_t is defined as 64bit, which make some problems
in device_path_parse_major_minor.

Don't pass st.st_rdev to device_path_parse_major_minor, while pass
a seperate var, and then assign into struct stat.

Gbp-Pq: Topic debian
Gbp-Pq: Name Pass-seperate-dev_t-var-to-device_path_parse_major_minor.patch
src/core/cgroup.c