From: Daniel Phillips <phillips@bonn-fries.net>
To: Alexander Viro <viro@math.psu.edu>
Cc: Christoph Hellwig <hch@ns.caldera.de>,
acme@conectiva.com.br, linux-kernel@vger.kernel.org
Subject: Re: [CFT] [JANITORIAL] Unbork fs.h
Date: Thu, 3 Jan 2002 18:25:43 +0100 [thread overview]
Message-ID: <E16MBch-000194-00@starship.berlin> (raw)
In-Reply-To: <Pine.GSO.4.21.0201031145210.23312-100000@weyl.math.psu.edu>
In-Reply-To: <Pine.GSO.4.21.0201031145210.23312-100000@weyl.math.psu.edu>
On January 3, 2002 05:47 pm, Alexander Viro wrote:
> On Thu, 3 Jan 2002, Daniel Phillips wrote:
> > On January 3, 2002 04:45 pm, Christoph Hellwig wrote:
> > > In article <E16M7Gz-00015E-00@starship.berlin> you wrote:
> > > > - inode = get_empty_inode();
> > > > + inode = get_empty_inode(sb);
> > >
> > > How about killing get_empty_inode completly and using new_inode() instead?
> > > There should be no regularly allocated inode without a superblock.
> >
> > There are: sock_alloc rd_load_image. However that's a nit because the new,
> > improved get_empty_inode understands the concept of null sb. (Another thing
> > we could do is require every inode to have a superblock - that's probably
> > where it will go in time.)
>
> It's _already_ there. RTFS, please - sock_alloc() creates inodes with
> sockfs superblock in ->i_sb and rd_load_image() just does normal open()
> for device nodes on rootfs.
Sockfs - yes, you'll see my patch already does it correctly, I was getting
a little tired when writing the previous reply... rd_load_image in 2.4.17 is
still using kdev_t there, however, no super_block anywhere to be seen. I'll
track that change if it happens before I bring the patches forward to 2.5.
--
Daniel
next prev parent reply other threads:[~2002-01-03 17:23 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-03 12:47 Daniel Phillips
2002-01-03 14:03 ` Daniel Phillips
2002-01-03 15:45 ` Christoph Hellwig
2002-01-03 16:20 ` Daniel Phillips
2002-01-03 16:47 ` Alexander Viro
2002-01-03 17:25 ` Daniel Phillips [this message]
2002-01-03 18:25 ` Daniel Phillips
2002-01-03 18:35 ` Christoph Hellwig
2002-01-03 16:45 ` Alexander Viro
2002-01-03 18:04 ` Daniel Phillips
2002-01-03 16:05 ` Ion Badulescu
2002-01-03 16:34 ` Daniel Phillips
2002-01-03 16:28 ` Martin Dalecki
2002-01-03 16:45 ` Arnaldo Carvalho de Melo
2002-01-03 16:36 ` Arnaldo Carvalho de Melo
2002-01-03 17:05 ` Daniel Phillips
2002-01-03 17:07 ` Arnaldo Carvalho de Melo
2002-01-03 19:36 ` Andreas Dilger
2002-01-04 7:05 ` Daniel Phillips
2002-01-04 8:59 ` Andreas Dilger
2002-01-04 10:02 ` Jeff Garzik
2002-01-03 23:25 ` J.A. Magallon
2002-01-04 1:44 ` Daniel Phillips
2002-01-04 14:52 ` J.A. Magallon
2002-01-03 18:53 ` Daniel Phillips
2002-01-03 20:31 ` Ion Badulescu
2002-01-04 15:16 Andries.Brouwer
2002-01-04 22:20 ` Andreas Dilger
2002-01-04 23:33 ` Daniel Phillips
2002-01-04 16:45 Bryan Henderson
2002-01-04 22:15 ` Andreas Dilger
2002-01-05 1:07 Bryan Henderson
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=E16MBch-000194-00@starship.berlin \
--to=phillips@bonn-fries.net \
--cc=acme@conectiva.com.br \
--cc=hch@ns.caldera.de \
--cc=linux-kernel@vger.kernel.org \
--cc=viro@math.psu.edu \
/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
all inboxes | Powered by JetHome®