]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_repair: change null check to assertion
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 21 Dec 2016 04:35:47 +0000 (22:35 -0600)
committerEric Sandeen <sandeen@redhat.com>
Wed, 21 Dec 2016 04:35:47 +0000 (22:35 -0600)
commitf9cd7f89801246cefb0d4d194b1346898bead59b
tree94b65863279bb6f0563ddf502181b59640d1170e
parentff14f59410148c57263c2ac8fe1deb75f9ba0a59
xfs_repair: change null check to assertion

It /should/ be the case that we never run out of records
before we run out of btree blocks, so change the null check
(that was only to appease Coverity) to an assert.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
repair/phase5.c