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:09:21 +0000 (17:09 -0600)
commitf65020a83ad570c1788f7d8ece67f3487166576b
treeadb5c61454fc33843e6a6b1abca2448a3f92d967
parent92b2e5b31dd2ad2c9273578c2289d17f417fe32d
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>
(cherry picked from commit 05293485a0b6b1f803e8a3c0ff188c38f6969985)
fs/xfs/xfs_trans.c