From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Woodhouse Subject: Re: consting operations Date: Mon, 14 Jul 2003 08:08:46 +0100 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <1058166526.2262.81.camel@imladris.demon.co.uk> References: <20030711221901.GO20424@parcelfarce.linux.theplanet.co.uk> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: linux-fsdevel@vger.kernel.org Return-path: Received: from imladris.demon.co.uk ([193.237.130.41]:9864 "EHLO imladris.demon.co.uk") by vger.kernel.org with ESMTP id S270552AbTGNGyA (ORCPT ); Mon, 14 Jul 2003 02:54:00 -0400 To: Matthew Wilcox In-Reply-To: <20030711221901.GO20424@parcelfarce.linux.theplanet.co.uk> List-Id: linux-fsdevel.vger.kernel.org On Fri, 2003-07-11 at 23:19, Matthew Wilcox wrote: > Of course, just converting ext2 yields all kinds of warnings from the > compiler about discarding qualifiers. We need to change linux/fs.h to > make all those things const .... and that splatters out to about 20 places > we need to let gcc know that yes, this local pointer really is const. > > Worth it? dunno. Opinions? I think it's worth it. I posted a patch to fs-devel on the 24th of June which does linux/fs.h and fixes the warnings I saw with local pointers. -- dwmw2