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

Andi Kleen (ak@muc.de)
07 Jul 1999 04:57:19 +0200


dirk@loth.demon.co.uk (Steve Dodd) writes:

> --- 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;
> }

Erm, the bmap loop patch was intended as a 2.2 minimal bug fix, not for 2.3.
For 2.3 there will be soon a better solution. Sorry if that was not clear.

-Andi

-- 
This is like TV. I don't like TV.

- 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/