linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fix double iget in romfs_fill_super
@ 2005-01-08 14:44 Christoph Hellwig
  2005-01-08 14:55 ` Al Viro
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2005-01-08 14:44 UTC (permalink / raw)
  To: akpm; +Cc: linux-fsdevel

--- linux-2.6.10-mm2.orig/fs/romfs/inode.c	2004-12-24 22:35:01.000000000 +0100
+++ linux-2.6.10-mm2/fs/romfs/inode.c	2005-01-08 15:49:55.238871280 +0100
@@ -161,8 +161,7 @@ static int romfs_fill_super(struct super
 	if (!root)
 		goto out;
 
-	s->s_root = d_alloc_root(iget(s, sz));
-
+	s->s_root = d_alloc_root(root);
 	if (!s->s_root)
 		goto outiput;
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-08 14:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-08 14:44 [PATCH] fix double iget in romfs_fill_super Christoph Hellwig
2005-01-08 14:55 ` Al Viro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).