lkml.org 
[lkml]   [2000]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.022 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site