Skip to content

Commit

Permalink
xfs: Fix a build warning in xfs_aops.c
Browse files Browse the repository at this point in the history
Fix a build warning that slipped through.  Dave Chinner had posted
an updated version of his patch but the previous version--without
this fix--was what got committed.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
  • Loading branch information
Dave Chinner authored and Alex Elder committed Mar 5, 2010
1 parent f1f724e commit 6941893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/xfs/linux-2.6/xfs_aops.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ xfs_end_io(
{
xfs_ioend_t *ioend = container_of(work, xfs_ioend_t, io_work);
struct xfs_inode *ip = XFS_I(ioend->io_inode);
int error;
int error = 0;

/*
* For unwritten extents we need to issue transactions to convert a
Expand Down

0 comments on commit 6941893

Please sign in to comment.