xfs
[Top] [All Lists]

Re: [PATCH] xfs: fix unused variable warning

To: Alex Elder <aelder@xxxxxxx>
Subject: Re: [PATCH] xfs: fix unused variable warning
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Fri, 7 Oct 2011 08:56:12 +1100
Cc: xfs@xxxxxxxxxxx
In-reply-to: <1317900267.3139.9.camel@doink>
References: <1317877059-7024-1-git-send-email-david@xxxxxxxxxxxxx> <1317900267.3139.9.camel@doink>
User-agent: Mutt/1.5.21 (2010-09-15)
On Thu, Oct 06, 2011 at 06:24:27AM -0500, Alex Elder wrote:
> On Thu, 2011-10-06 at 15:57 +1100, Dave Chinner wrote:
> > From: Dave Chinner <dchinner@xxxxxxxxxx>
> > 
> > Fix this warning:
> > 
> > fs/xfs/xfs_aops.c: In function 'xfs_end_io_direct_write':
> > fs/xfs/xfs_aops.c:1280:17: warning: unused variable 'inode' 
> > [-Wunused-variable]
> > 
> > Signed-off-by: Dave Chinner <dchinner@xxxxxxxxxx>
> 
> That line of code is not present in the current XFS
> master branch on oss.sgi.com.

I've got a 3.1-rc9 kernel that I merged the current XFS tree in.
There were a couple of merge conflicts that I fixed, so maybe that's
where it came from. I'll check.

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>