summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorAnthony Iliopoulos <ailiop@suse.com>2026-10-21 23:00:32 +0200
committerCarlos Maiolino <cem@kernel.org>2026-11-02 14:35:16 +0100
commit1e253beed5340fdf1aa43cc684e085a6d468f5f7 (patch)
tree9d7f0ebe6b96ddb894befddba0518e5b8053ca89 /include/linux/timerqueue.h
parent5745f4f10a1a16aa5bb020acc38afa33f2d5ff99 (diff)
xfs: skip iunlock with empty iolock flags in xfs_file_dio_write_aligned
When using RWF_NOWAIT, xfs_file_write_checks may fail to acquire an exclusive lock upgrade and return -EAGAIN for aligned DIO, setting iolock to 0. In XFS_DEBUG kernels, passing no lock flags to xfs_iunlock triggers an assertion failure. Fix this by unlocking the iolock only when there are any flags set. Fixes: 2e2383405824 ("xfs: implement direct writes to zoned RT devices") Signed-off-by: Anthony Iliopoulos <ailiop@suse.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions