[PATCH] ioctl32 fix to SG_IO
From: Arun Sharma
Date: Wed Oct 01 2003 - 16:20:04 EST
A minor bug fix to the ioctl32 code handling SG_IO. sgio->dxferp is not initialzed properly.
-Arun
--- ia64-linux2.6.0/fs/compat_ioctl.c Sun Sep 28 09:54:23 2003
+++ ia64-linux2.6.0-patch/fs/compat_ioctl.c Sun Sep 28 09:54:37 2003
@@ -1029,6 +1029,7 @@
return -EFAULT;
}
+ sgio->dxferp = iov;
return 0;
}