diff options
author | Dave Chinner <david@fromorbit.com> | 2010-03-03 19:57:09 -0500 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-03-05 12:01:22 -0500 |
commit | 694189328a7e566cb84bd3205503a42b60e87882 (patch) | |
tree | dfd6cb104db477741ed8cc8a878832e90904f184 /fs/xfs | |
parent | f1f724e4b523d444c5a598d74505aefa3d6844d2 (diff) |
xfs: Fix a build warning in xfs_aops.c
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>
Diffstat (limited to 'fs/xfs')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_aops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_aops.c b/fs/xfs/linux-2.6/xfs_aops.c index b493c63976cd..793908a8a09b 100644 --- a/fs/xfs/linux-2.6/xfs_aops.c +++ b/fs/xfs/linux-2.6/xfs_aops.c | |||
@@ -229,7 +229,7 @@ xfs_end_io( | |||
229 | { | 229 | { |
230 | xfs_ioend_t *ioend = container_of(work, xfs_ioend_t, io_work); | 230 | xfs_ioend_t *ioend = container_of(work, xfs_ioend_t, io_work); |
231 | struct xfs_inode *ip = XFS_I(ioend->io_inode); | 231 | struct xfs_inode *ip = XFS_I(ioend->io_inode); |
232 | int error; | 232 | int error = 0; |
233 | 233 | ||
234 | /* | 234 | /* |
235 | * For unwritten extents we need to issue transactions to convert a | 235 | * For unwritten extents we need to issue transactions to convert a |