diff options
author | Andre Noll <maan@systemlinux.org> | 2008-07-11 14:02:21 +0200 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2008-07-11 14:02:21 +0200 |
commit | 26ef379f53993b1da3c19b63257cd47e1d9cd672 (patch) | |
tree | c02f2acfb14c6b8294e101f53fb10a9d978844bb /drivers/md/dm-uevent.h | |
parent | md: Simplify restart_array(). (diff) | |
download | linux-26ef379f53993b1da3c19b63257cd47e1d9cd672.tar.xz linux-26ef379f53993b1da3c19b63257cd47e1d9cd672.zip |
md: get_disk_info(): Don't convert between signed and unsigned and back.
The current code copies a signed int from user space, converts it to
unsigned and passes the unsigned value to find_rdev_nr() which expects
a signed value. Simply pass the signed value from user space directly.
Signed-off-by: Andre Noll <maan@systemlinux.org>
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'drivers/md/dm-uevent.h')
0 files changed, 0 insertions, 0 deletions