X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=block%2Fcompat_ioctl.c;h=fbd5a67cb773886104cac49698ee589b8fbc9933;hb=2fadd83184d58701f1116ca578465b5a75f9417c;hp=7e5d474dc6ba8a3028abe19e296d3b19a9d4bded;hpb=47dcd3563e45fc5a59bf7f3326ef56087be8bebe;p=cascardo%2Flinux.git diff --git a/block/compat_ioctl.c b/block/compat_ioctl.c index 7e5d474dc6ba..fbd5a67cb773 100644 --- a/block/compat_ioctl.c +++ b/block/compat_ioctl.c @@ -70,7 +70,7 @@ static int compat_hdio_getgeo(struct gendisk *disk, struct block_device *bdev, return ret; ret = copy_to_user(ugeo, &geo, 4); - ret |= __put_user(geo.start, &ugeo->start); + ret |= put_user(geo.start, &ugeo->start); if (ret) ret = -EFAULT;