From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyrill Gorcunov Subject: Re: [patch 1/7] procfs: Add ability to plug in auxiliary fdinfo providers Date: Tue, 13 Nov 2012 11:03:05 +0400 Message-ID: <20121113070305.GB6511@moon> References: <20121112101440.665694060@openvz.org> <20121112101845.678229459@openvz.org> <20121112164022.1bc3dd4e.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Al Viro , Alexey Dobriyan , Pavel Emelyanov , James Bottomley , Matthew Helsley , aneesh.kumar@linux.vnet.ibm.com, bfields@fieldses.org To: Andrew Morton Return-path: Content-Disposition: inline In-Reply-To: <20121112164022.1bc3dd4e.akpm@linux-foundation.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Mon, Nov 12, 2012 at 04:40:22PM -0800, Andrew Morton wrote: > > > > --- linux-2.6.git.orig/include/linux/fs.h > > +++ linux-2.6.git/include/linux/fs.h > > @@ -1517,6 +1517,8 @@ struct block_device_operations; > > #define HAVE_COMPAT_IOCTL 1 > > #define HAVE_UNLOCKED_IOCTL 1 > > > > +struct seq_file; > > + > > We already have a forward declaration of seq_file in fs.h. At line > 1583(!). > > This is why forward declarations should always be placed at the start > of the file, please. Yes, thanks a lot, Andrew! Cyrill