]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: Fix bool initialization/comparison
authorThomas Meyer <thomas@m3y3r.de>
Wed, 18 Oct 2017 18:39:02 +0000 (13:39 -0500)
committerEric Sandeen <sandeen@redhat.com>
Wed, 18 Oct 2017 18:39:02 +0000 (13:39 -0500)
commit180d3cd8118170d4ebd67730f3d6615cad9f59c1
tree87af2a905393f518d3681fa43c16cdd1b6d40733
parent87daa5530d59f5f31b312fc959432855cfff7147
xfs: Fix bool initialization/comparison

Source kernel commit: 749f24f33e87c1706d716c283027595b72a034f3

Bool initializations should use true and false. Bool tests don't need
comparisons.

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_bmap.c
libxfs/xfs_ialloc.c