patch-2.2.14 linux/drivers/block/loop.c

Next file: linux/drivers/block/ns87415.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.2.13/linux/drivers/block/loop.c linux/drivers/block/loop.c
@@ -315,7 +315,7 @@
 		/* Do what the default llseek() code would have done */
 		file->f_pos = new_offset;
 		file->f_reada = 0;
-		file->f_version = ++event;
+		file->f_version = ++global_event;
 	}
 
 	if (file->f_op->write == NULL) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)