[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080223122859.GN27894@ZenIV.linux.org.uk>
Date: Sat, 23 Feb 2008 12:28:59 +0000
From: Al Viro <viro@...IV.linux.org.uk>
To: Arnd Bergmann <arnd@...db.de>
Cc: linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
Christoph Hellwig <hch@....de>, Greg KH <gregkh@...e.de>,
David Howells <dhowells@...hat.com>
Subject: Re: [RFC 02/11] introduce simple_fs_type
On Tue, Feb 19, 2008 at 05:04:37AM +0100, Arnd Bergmann wrote:
> There is a number of pseudo file systems in the kernel
> that are basically copies of debugfs, all implementing the
> same boilerplate code, just with different bugs.
>
> This adds yet another copy to the kernel in the libfs directory,
> with generalized helpers that can be used by any of them.
>
> The most interesting function here is the new "struct dentry *
> simple_register_filesystem(struct simple_fs_type *type)", which
> returns the root directory of a new file system that can then
> be passed to simple_create_file() and similar functions as a
> parent.
Don't mix "split the file" with "add new stuff", please. And frankly,
I'm not convinced that embedding file_system_type into another struct
is a good idea.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists