xfs: Remove duplicate assert statement in xfs_bmap_btalloc()
authorChandan Babu R <chandanrlinux@gmail.com>
Sat, 23 Jan 2021 00:48:16 +0000 (16:48 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Sat, 23 Jan 2021 00:54:49 +0000 (16:54 -0800)
commitaff4db57d510082f11194ca915d8101463c92d46
treeb39ed80fdfaa906c0f9c56074446d7ef8e2f5738
parentf9fa87169d2bc1bf55ab42bb6085114378c53b86
xfs: Remove duplicate assert statement in xfs_bmap_btalloc()

The check for verifying if the allocated extent is from an AG whose
index is greater than or equal to that of tp->t_firstblock is already
done a couple of statements earlier in the same function. Hence this
commit removes the redundant assert statement.

Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Chandan Babu R <chandanrlinux@gmail.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/libxfs/xfs_bmap.c