linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: akpm@osdl.org
Cc: linux-fsdevel@vger.kernel.org
Subject: [PATCH] fix double iget in romfs_fill_super
Date: Sat, 8 Jan 2005 15:44:25 +0100	[thread overview]
Message-ID: <20050108144425.GA3561@lst.de> (raw)

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

             reply	other threads:[~2005-01-08 14:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-08 14:44 Christoph Hellwig [this message]
2005-01-08 14:55 ` [PATCH] fix double iget in romfs_fill_super Al Viro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050108144425.GA3561@lst.de \
    --to=hch@lst.de \
    --cc=akpm@osdl.org \
    --cc=linux-fsdevel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).