Skip to content
Commit 64720771 authored by Igor Sukhih's avatar Igor Sukhih Committed by Pavel Emelyanov
Browse files

util: Update kdev_to_odev to respect BITS_PER_LONG



Depending on BITS_PER_LONG userspace representation of dev_t
may vary, so we need to choose proper encoding.

Signed-off-by: default avatarIgor Sukhih <igor@parallels.com>
Signed-off-by: default avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 59c43e48
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment