diff options
author | Dave Chinner <david@fromorbit.com> | 2014-12-04 09:18:21 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-12-04 09:18:21 +1100 |
commit | e77b8547ca9c4b87932e9da3db906bc016885d8d (patch) | |
tree | d16d7f5d9c4337bf8cbf13266cf4f3d3e989815b /fs/xfs/libxfs/xfs_ialloc.c | |
parent | db52d09ecbf85c54e263a9d1ebfb615a9b2b3ba6 (diff) | |
parent | d254aaec5d1aa2997dad035db340c298eaa8d089 (diff) |
Merge branch 'xfs-coccinelle-cleanups' into xfs-misc-fixes-for-3.19-2
Diffstat (limited to 'fs/xfs/libxfs/xfs_ialloc.c')
-rw-r--r-- | fs/xfs/libxfs/xfs_ialloc.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/xfs/libxfs/xfs_ialloc.c b/fs/xfs/libxfs/xfs_ialloc.c index 23dcb72fc5e..705a7530176 100644 --- a/fs/xfs/libxfs/xfs_ialloc.c +++ b/fs/xfs/libxfs/xfs_ialloc.c @@ -1137,11 +1137,7 @@ xfs_dialloc_ag_update_inobt( XFS_WANT_CORRUPTED_RETURN((rec.ir_free == frec->ir_free) && (rec.ir_freecount == frec->ir_freecount)); - error = xfs_inobt_update(cur, &rec); - if (error) - return error; - - return 0; + return xfs_inobt_update(cur, &rec); } /* |