diff options
| author | Brian Foster <[email protected]> | 2019-12-17 21:50:26 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2019-12-19 15:53:47 +0000 |
| commit | 826f7e34130a4ce756138540170cbe935c537a47 (patch) | |
| tree | 0e347c71c3ef90670aadaee13258925351adc266 /net/unix/af_unix.c | |
| parent | xfs: fix log reservation overflows when allocating large rt extents (diff) | |
| download | kernel-826f7e34130a4ce756138540170cbe935c537a47.tar.gz kernel-826f7e34130a4ce756138540170cbe935c537a47.zip | |
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 <[email protected]>
Fixes: 22525c17ed ("xfs: log item flags are racy")
Reviewed-by: Eric Sandeen <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
