From: "Jörn Engel" <joern@logfs.org>
To: "David P. Quigley" <dpquigl@tycho.nsa.gov>
Cc: Phillip Lougher <phillip@lougher.demon.co.uk>,
akpm@linux-foundation.org, linux-embedded@vger.kernel.org,
linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
tim.bird@am.sony.com
Subject: Re: Subject: [PATCH 01/16] Squashfs: inode operations
Date: Tue, 21 Oct 2008 20:03:41 +0200 [thread overview]
Message-ID: <20081021180340.GA11588@logfs.org> (raw)
In-Reply-To: <1224605666.31157.71.camel@moss-terrapins.epoch.ncsc.mil>
On Tue, 21 October 2008 12:14:26 -0400, David P. Quigley wrote:
> On Fri, 2008-10-17 at 18:53 +0200, Jörn Engel wrote:
> > None of the comments below are a reason against mainline inclusion, imo.
> > They should get handled, but whether that happens before or after a
> > merge doesn't really matter.
> >
> > On Fri, 17 October 2008 16:42:50 +0100, Phillip Lougher wrote:
> > >
> > > +#include <linux/squashfs_fs.h>
> > > +#include <linux/squashfs_fs_sb.h>
> > > +#include <linux/squashfs_fs_i.h>
> >
> > Current verdict seems to be that these files should live in fs/squashfs/,
> > not include/linux/. No kernel code beside squashfs needs the headers
> > and userspace tools should have a private copy.
> >
> [Snip]
>
> I looked at where filesystems such as ext3 store these and it seems to
> be in include/linux. I'm assuming this is because usespace utilities
> like fsck need them. It seems wrong for userspace tools to have their
> own private copy since you can potentially have them out of sync with
> the kernel you are running and it provides more chance for you
> forgetting to update a structure somewhere.
Existing headers remain where they are. New headers are supposed to
go... or at least that's what I was told to do.
And being out of sync is definitely not an argument you can use with a
filesystem. The data on your disk doesn't magically change when you
upgrade a kernel. Nor can you assume that any given filesystem is
accessed only by Linux. If you change the format, then locating
external copies of the header will be the least of your problems.
Jörn
--
Do not stop an army on its way home.
-- Sun Tzu
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2008-10-21 18:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-17 15:42 Subject: [PATCH 01/16] Squashfs: inode operations Phillip Lougher
2008-10-17 16:53 ` Jörn Engel
2008-10-21 0:32 ` Phillip Lougher
2008-10-21 16:14 ` David P. Quigley
2008-10-21 18:03 ` Jörn Engel [this message]
2008-10-22 8:48 ` Christoph Hellwig
2008-10-22 16:32 ` Geert Uytterhoeven
2008-10-22 17:13 ` Geert Uytterhoeven
2008-10-23 8:42 ` Phillip Lougher
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=20081021180340.GA11588@logfs.org \
--to=joern@logfs.org \
--cc=akpm@linux-foundation.org \
--cc=dpquigl@tycho.nsa.gov \
--cc=linux-embedded@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=phillip@lougher.demon.co.uk \
--cc=tim.bird@am.sony.com \
/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).