public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ioctl32 fix to SG_IO
@ 2003-10-01 21:17 Arun Sharma
  0 siblings, 0 replies; only message in thread
From: Arun Sharma @ 2003-10-01 21:17 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, Tian, Kevin, pavel

[-- Attachment #1: Type: text/plain, Size: 102 bytes --]


A minor bug fix to the ioctl32 code handling SG_IO. sgio->dxferp is not initialzed properly.

	-Arun

[-- Attachment #2: ioctl32-sgio.patch --]
[-- Type: text/plain, Size: 219 bytes --]

--- 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;
 }
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-10-01 21:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-01 21:17 [PATCH] ioctl32 fix to SG_IO Arun Sharma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox