Skip to contentSkip to conversation

ioctl32 fix to SG_IO

PATCH New Arun Sharma 1 participant 1 message Oct 1, 2003 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ioctl32 fix to SG_IO

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

-Arun

fs/compat_ioctl.c +1 -0
@@ -1029,6 +1029,7 @@
 			return -EFAULT;
 	}
 
+	sgio->dxferp = iov;
 	return 0;
 }