On Tue, 27 April 2010 13:40:04 +0200, Jörn Engel wrote:
Does the patch below solve the problem for you (without the explicit
"rootfstype=romfs")?
Jörn
--
One of my most productive days was throwing away 1000 lines of code.
-- Ken Thompson.
Signed-off-by: Joern Engel <joern@logfs.org>
---
fs/logfs/super.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/logfs/super.c b/fs/logfs/super.c
index 5866ee6..f649038 100644
--- a/fs/logfs/super.c
+++ b/fs/logfs/super.c
@@ -413,7 +413,7 @@ static int __logfs_read_sb(struct super_block *sb)
page = find_super_block(sb);
if (!page)
- return -EIO;
+ return -EINVAL;
ds = page_address(page);
super->s_size = be64_to_cpu(ds->ds_filesystem_size);
--
1.6.2.1
--