XFS: xfs_trans_add_item() - don't assign in ASSERT() when compare is intended
authorJesper Juhl <jj@chaosbits.net>
Mon, 13 Feb 2012 20:51:05 +0000 (20:51 +0000)
committerBen Myers <bpm@sgi.com>
Mon, 13 Feb 2012 23:06:39 +0000 (17:06 -0600)
commit05293485a0b6b1f803e8a3c0ff188c38f6969985
treec7e62a4dc1a423ae2e7e591f50cd71fcb681919f
parent04da0c8196ac0b12fb6b84f4b7a51ad2fa56d869
XFS: xfs_trans_add_item() - don't assign in ASSERT() when compare is intended

It looks to me like the two ASSERT()s in xfs_trans_add_item() really
want to do a compare (==) rather than assignment (=).
This patch changes it from the latter to the former.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_trans.c