OSDN Git Service

linux: fix device major/minor handling.
authorNicolas George <george@nsup.org>
Sun, 13 Nov 2016 18:04:30 +0000 (19:04 +0100)
committerPeter Jones <pjones@redhat.com>
Fri, 20 Jan 2017 22:27:28 +0000 (17:27 -0500)
commit9d8ed784455f73593143e8316f7ca156986dae37
tree9e30f0af973273d9dc242fa9b7071eafed50cbbf
parent91660d700e4b2d289da2b8a2c35f8d3cea3b4071
linux: fix device major/minor handling.

The current code fails when minor >= 256 because the higher
bits are kept in major.

Fix: Debian bug #844237
src/linux.c
src/linux.h