patch-2.0.21 linux/drivers/char/mem.c

Next file: linux/drivers/char/random.c
Previous file: linux/drivers/block/ll_rw_blk.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.20/linux/drivers/char/mem.c linux/drivers/char/mem.c
@@ -196,6 +196,7 @@
 
 static int read_full(struct inode * node, struct file * file, char * buf,int count)
 {
+	file->f_pos += count;
 	return count;
 }
 

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