[PATCH] xfs: fix unused variable warning
Dave Chinner
david at fromorbit.com
Thu Oct 6 16:56:12 CDT 2011
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 at redhat.com>
> >
> > 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 at redhat.com>
>
> 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 at fromorbit.com
More information about the xfs
mailing list