lkml.org 
[lkml]   [2003]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] ioctl32 fix to SG_IO

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;
}
\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.145 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site