[PATCH] Fix residual size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If we target a number of bytes of IO and keep subtracting a xfer_buflen, we need to ensure the residual length is of the same size.


diff --git a/io_u.h b/io_u.h
index 9a423b2..2e0fd3f 100644
--- a/io_u.h
+++ b/io_u.h
@@ -75,7 +75,7 @@ struct io_u {
 
 	struct io_piece *ipo;
 
-	unsigned int resid;
+	unsigned long long resid;
 	unsigned int error;
 
 	/*


Regards,
Jeff






[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux