===== drivers/block/ioctl.c 1.62 vs edited ===== --- 1.62/drivers/block/ioctl.c 2004-10-03 00:05:10 -04:00 +++ edited/drivers/block/ioctl.c 2004-10-22 13:06:16 -04:00 @@ -195,7 +195,8 @@ if (disk->fops->ioctl) { ret = disk->fops->ioctl(inode, file, cmd, arg); /* -EINVAL to handle old uncorrected drivers */ - if (ret != -EINVAL && ret != -ENOTTY) + if (ret != -EINVAL && ret != -ENOTTY && + ret != -EOPNOTSUPP) return ret; } fsync_bdev(bdev);