]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfb0de1b2e1ccca0dd5a733f996bd72dbdf526283
treec7e62a4dc1a423ae2e7e591f50cd71fcb681919f
parenta081298745e976e61afb3d71e68ee4e674625264
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