diff options
author | Darrick J. Wong <djwong@kernel.org> | 2022-11-28 17:24:42 -0800 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-11-30 08:55:18 -0800 |
commit | e5827a007aa4bb737c63121fd2c77e089b18a372 (patch) | |
tree | dbd64d74166eace69402361a6833c7ccbe9c6d8d /fs/xfs/xfs_inode.c | |
parent | fd5beaff250d7e88912a937fad072d9d24f219da (diff) | |
download | linux-e5827a007aa4bb737c63121fd2c77e089b18a372.tar.bz2 |
xfs: shut up -Wuninitialized in xfsaild_push
-Wuninitialized complains about @target in xfsaild_push being
uninitialized in the case where the waitqueue is active but there is no
last item in the AIL to wait for. I /think/ it should never be the case
that the subsequent xfs_trans_ail_cursor_first returns a log item and
hence we'll never end up at XFS_LSN_CMP, but let's make this explicit.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_inode.c')
0 files changed, 0 insertions, 0 deletions