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

Next file: linux/drivers/cdrom/cdrom.c
Previous file: linux/drivers/block/ide-pmac.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.10/linux/drivers/block/loop.c linux/drivers/block/loop.c
@@ -375,7 +375,7 @@
 		   a file structure */
 		lo->lo_backing_file = NULL;
 	} else if (S_ISREG(inode->i_mode)) {
-		if (!inode->i_op->bmap) { 
+		if (!inode->i_op->get_block) { 
 			printk(KERN_ERR "loop: device has no block access/not implemented\n");
 			goto out_putf;
 		}

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