Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754430AbYJUQf2 (ORCPT ); Tue, 21 Oct 2008 12:35:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752084AbYJUQfO (ORCPT ); Tue, 21 Oct 2008 12:35:14 -0400 Received: from zombie2.ncsc.mil ([144.51.88.133]:49986 "EHLO zombie2.ncsc.mil" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752037AbYJUQfM (ORCPT ); Tue, 21 Oct 2008 12:35:12 -0400 Subject: Re: Subject: [PATCH 01/16] Squashfs: inode operations From: "David P. Quigley" To: =?ISO-8859-1?Q?J=F6rn?= Engel Cc: Phillip Lougher , akpm@linux-foundation.org, linux-embedded@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, tim.bird@am.sony.com In-Reply-To: <20081017165300.GA8076@logfs.org> References: <20081017165300.GA8076@logfs.org> Content-Type: text/plain; charset=utf-8 Date: Tue, 21 Oct 2008 12:14:26 -0400 Message-Id: <1224605666.31157.71.camel@moss-terrapins.epoch.ncsc.mil> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 (2.22.3.1-1.fc9) Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1268 Lines: 31 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 > > +#include > > +#include > > 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. Dave -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/