From: Mikulas Patocka <mpatocka@xxxxxxxxxx> Date: Tue, 6 Apr 2010 19:29:57 -0400 (EDT) > This fixes a crash when using hdparm --security-* on IDE devices with CFQ > scheduler. Thanks I'll take a look at a this. > BTW. I found out that it's impossible to use these security commands on > sparc64 because of 64-bit kernel, 32-bit userspace and a lack of ioctl > emulation (I succeeded when I recompiled hdparm on my own in 64-bit mode). > What do you think is the best fix for it? Put it to fs/compat_ioctl.c > (like SG_IO)? Or make a compat_ioctl method in IDE? Or don't fix it and > persuade distros to compile hdparm as 64-bit? The general pattern is to move the ioctl compat handlers into the drivers themselves, so putting in a compat handler in the IDE layer is the way to go. -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html