Messages in this thread Patch in this message | | | Date | Tue, 15 Feb 2000 05:01:39 -0500 (EST) | From | Alexander Viro <> | Subject | Re: Loop device broken in 2.3.45 |
| |
On Tue, 15 Feb 2000, B. D. Elliott wrote:
> The following oops happens when trying to "losetup" a regular file: >
Arrrrgh. Sorry for that braino. Please, do the following: --- linux-2.3.46-1/drivers/block/loop.c Mon Feb 14 20:12:19 2000 +++ linux-bird.vm/drivers/block/loop.c Tue Feb 15 04:57:55 2000 @@ -453,7 +453,7 @@ lo->lo_backing_file = NULL; } } - aops = lo->lo_dentry->d_inode->i_mapping->a_ops; + aops = inode->i_mapping->a_ops; /* * If we can't read - sorry. If we only can't write - well, * it's going to be read-only. Wrong patch syndrom. My apologies...
- 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/
| |