diff options
author | Jesper Juhl <jj@chaosbits.net> | 2010-12-25 15:14:53 -0500 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2011-01-11 23:29:13 -0500 |
commit | 1884bd8354c9aec4ca501dc4773c13ad2a09af7b (patch) | |
tree | 0afc35e48782f4bd444ca36ececd555e2a82c333 /fs/xfs | |
parent | bfc60177f8ab509bc225becbb58f7e53a0e33e81 (diff) |
xfs: fix an assignment within an ASSERT()
In fs/xfs/xfs_trans.c::xfs_trans_unreserve_and_mod_sb() at the out:
label we have this:
ASSERT(error = 0);
I believe a comparison was intended, not an assignment. If I'm
right, the patch below fixes that up.
Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs')
-rw-r--r-- | fs/xfs/xfs_trans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_trans.c b/fs/xfs/xfs_trans.c index f80a067a4658..33dbc4e0ad62 100644 --- a/fs/xfs/xfs_trans.c +++ b/fs/xfs/xfs_trans.c | |||
@@ -1137,7 +1137,7 @@ out_undo_fdblocks: | |||
1137 | if (blkdelta) | 1137 | if (blkdelta) |
1138 | xfs_icsb_modify_counters(mp, XFS_SBS_FDBLOCKS, -blkdelta, rsvd); | 1138 | xfs_icsb_modify_counters(mp, XFS_SBS_FDBLOCKS, -blkdelta, rsvd); |
1139 | out: | 1139 | out: |
1140 | ASSERT(error = 0); | 1140 | ASSERT(error == 0); |
1141 | return; | 1141 | return; |
1142 | } | 1142 | } |
1143 | 1143 | ||