[PATCH] 2.3.10-pre4: loop.c one line fix

Steve Dodd (dirk@loth.demon.co.uk)
Tue, 6 Jul 1999 17:24:45 +0100


--- linux/drivers/block/loop.c.orig Tue Jul 6 17:22:08 1999
+++ linux/drivers/block/loop.c Tue Jul 6 17:22:10 1999
@@ -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;
}

-- 
Plug-and-Play is really nice, unfortunately it only works 50% of the time.
To be specific the "Plug" almost always works.            --unknown source

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/