From: "Jörn Engel" <joern@logfs.org>
To: Erez Zadok <ezk@cs.sunysb.edu>
Cc: linux-mtd@lists.infradead.org, "Jörn Engel" <joern@logfs.org>,
dwmw2@infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [BLOCK2MTD] WARNING: at kernel/lockdep.c:2331 lockdep_init_map()
Date: Sat, 20 Oct 2007 11:29:50 +0200 [thread overview]
Message-ID: <20071020092950.GB32465@lazybastard.org> (raw)
In-Reply-To: <200710192004.l9JK4Aju017839@agora.fsl.cs.sunysb.edu>
On Fri, 19 October 2007 16:04:10 -0400, Erez Zadok wrote:
> In message <20071019191433.GK26913@lazybastard.org>, =?utf-8?B?SsO2cm4=?= Engel writes:
> >
> > Since when roughly? 2.6.20ish? Before?
>
> Yeah, I guess around that time. If you want, I could go back and test each
> of my backports and see if it has the lockdep message or not.
That's ok. Just wanted to get a rough idea.
> > Side note: you don't need mtdblock:
> > # cp jffs2-empty.img /tmp/foo
> > # losetup /dev/loop0 /tmp/foo
> > # modprobe block2mtd block2mtd=/dev/loop0,128ki
> > # mount -t jffs2 mtd0 /n/lower/b0
> >
> > It doesn't really hurt, 'tis just superfluous.
>
> Neat. Curious, but where does "mtd0" come from then? It's not in my /dev
> (which uses devfs on an FC6 system).
JFFS2 interprets that itself. The only reason why JFFS2 needed a block
device was to determine the minor number of the mtd underneith. So code
was added to find the correct mtd from "mtd0" or "mtd:some_name"
instead. I believe you can even disable CONFIG_BLOCK now.
And the code itself was moved to drivers/mtd/mtdsuper.c fairly recently.
Jörn
--
Joern's library part 2:
http://www.art.net/~hopkins/Don/unix-haters/tirix/embarrassing-memo.html
next prev parent reply other threads:[~2007-10-20 11:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-19 17:53 [BLOCK2MTD] WARNING: at kernel/lockdep.c:2331 lockdep_init_map() Erez Zadok
2007-10-19 18:31 ` Peter Zijlstra
2007-10-21 11:12 ` Jörn Engel
2007-10-19 19:14 ` Jörn Engel
2007-10-19 20:04 ` Erez Zadok
2007-10-20 9:29 ` Jörn Engel [this message]
2007-10-19 20:37 ` Erez Zadok
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=20071020092950.GB32465@lazybastard.org \
--to=joern@logfs.org \
--cc=dwmw2@infradead.org \
--cc=ezk@cs.sunysb.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.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