|
@@ -1035,11 +1035,8 @@ int generic_ide_ioctl(ide_drive_t *drive, struct file *file, struct block_device
|
|
|
case HDIO_GET_NICE:
|
|
|
return put_user(drive->dsc_overlap << IDE_NICE_DSC_OVERLAP |
|
|
|
drive->atapi_overlap << IDE_NICE_ATAPI_OVERLAP |
|
|
|
- drive->nice0 << IDE_NICE_0 |
|
|
|
- drive->nice1 << IDE_NICE_1 |
|
|
|
- drive->nice2 << IDE_NICE_2,
|
|
|
+ drive->nice1 << IDE_NICE_1,
|
|
|
(long __user *) arg);
|
|
|
-
|
|
|
#ifdef CONFIG_IDE_TASK_IOCTL
|
|
|
case HDIO_DRIVE_TASKFILE:
|
|
|
if (!capable(CAP_SYS_ADMIN) || !capable(CAP_SYS_RAWIO))
|