]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_db: convert single-bit bitfields to bools
authorEric Sandeen <sandeen@redhat.com>
Wed, 17 Oct 2018 18:24:56 +0000 (13:24 -0500)
committerEric Sandeen <sandeen@redhat.com>
Wed, 17 Oct 2018 18:24:56 +0000 (13:24 -0500)
commit6a40ccc6d621f5a5e88b0c400cb0bd44fef6bf7e
tree7507b96f394d6d49f50a9618fc0245e8b38b3849
parentb65718551f954c41e99a95ea2ca8d4bf2d0a6248
xfs_db: convert single-bit bitfields to bools

Sparse doesn't like signed single-bit bitfields, and they may as well
just be booleans.

Fixes sparse warnings about this.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
db/check.c
db/io.h