xfs: make the ASSERT() condition likely
authorAmir Goldstein <amir73il@gmail.com>
Tue, 17 Jan 2017 19:41:41 +0000 (11:41 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 17 Jan 2017 19:41:41 +0000 (11:41 -0800)
commitbf46ecc3d8cca05f2907cf482755c42c2b11a79d
treeaf4105446207e65bc0868b93f2edb4d9fa5f35b6
parent49def1853334396f948dcb4cedb9347abb318df5
xfs: make the ASSERT() condition likely

The ASSERT() condition is the normal case, not the exception,
so testing the condition should be likely(), not unlikely().

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_linux.h