patch-2.1.11 linux/drivers/block/md.c

Next file: linux/drivers/cdrom/cm206.c
Previous file: linux/drivers/block/loop.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.10/linux/drivers/block/md.c linux/drivers/block/md.c
@@ -372,7 +372,7 @@
 
 
 static long md_read (struct inode *inode, struct file *file,
-		    char *buf, int count)
+		    char *buf, unsigned long count)
 {
   int minor=MINOR(inode->i_rdev);
 
@@ -383,7 +383,7 @@
 }
 
 static long md_write (struct inode *inode, struct file *file,
-		     const char *buf, int count)
+		     const char *buf, unsigned long count)
 {
   int minor=MINOR(inode->i_rdev);
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov