diff options
| author | 2014-12-04 09:18:21 +1100 | |
|---|---|---|
| committer | 2014-12-04 09:18:21 +1100 | |
| commit | e77b8547ca9c4b87932e9da3db906bc016885d8d (patch) | |
| tree | d16d7f5d9c4337bf8cbf13266cf4f3d3e989815b /fs/xfs/libxfs/xfs_ialloc.c | |
| parent | xfs: catch invalid negative blknos in _xfs_buf_find() (diff) | |
| parent | xfs: fix simple_return.cocci warning in xfs_bmse_shift_one (diff) | |
| download | linux-dev-e77b8547ca9c4b87932e9da3db906bc016885d8d.tar.xz linux-dev-e77b8547ca9c4b87932e9da3db906bc016885d8d.zip | |
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 23dcb72fc5e6..705a7530176e 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); } /* |
