Brian Foster 826f7e3413 xfs: use bitops interface for buf log item AIL flag check
The xfs_log_item flags were converted to atomic bitops as of commit
22525c17ed ("xfs: log item flags are racy"). The assert check for
AIL presence in xfs_buf_item_relse() still uses the old value based
check. This likely went unnoticed as XFS_LI_IN_AIL evaluates to 0
and causes the assert to unconditionally pass. Fix up the check.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Fixes: 22525c17ed ("xfs: log item flags are racy")
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
2019-12-19 07:53:47 -08:00
..
2019-11-10 10:21:57 -08:00
2019-11-18 08:40:44 -08:00
2018-06-06 14:17:53 -07:00
2019-11-07 13:00:53 -08:00
2018-06-06 14:17:53 -07:00
2019-10-28 08:37:54 -07:00
2019-10-28 08:37:54 -07:00
2019-11-22 08:17:10 -08:00
2019-11-18 08:40:44 -08:00
2019-10-28 08:37:54 -07:00
2019-06-28 19:30:43 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2019-06-28 19:30:43 -07:00
2018-06-06 14:17:53 -07:00
2019-07-03 08:21:58 -07:00
2019-07-03 08:21:58 -07:00
2019-04-23 08:36:23 -07:00
2019-06-28 19:30:43 -07:00
2019-11-07 13:00:53 -08:00
2019-06-28 19:30:43 -07:00
2018-06-06 14:17:53 -07:00
2019-06-28 19:30:43 -07:00
2019-11-07 13:00:53 -08:00