]> git.ipfire.org Git - thirdparty/linux.git/commit
xfs: xfs_qm_dqattach_one is never called with a non-NULL *IO_idqpp
authorChristoph Hellwig <hch@lst.de>
Mon, 10 Nov 2025 13:23:00 +0000 (14:23 +0100)
committerCarlos Maiolino <cem@kernel.org>
Tue, 11 Nov 2025 10:45:58 +0000 (11:45 +0100)
commitd0f93c0d7c9dc8f7fdbd1ce3f5d3bfd8e109da65
tree7cb9a5a514785c7224a67103b5e0c4ad5137bd74
parent0494f04643de72e13acd556e402cc4edc6169950
xfs: xfs_qm_dqattach_one is never called with a non-NULL *IO_idqpp

The caller already checks that, so replace the handling of this case with
an assert that it does not happen.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_qm.c
fs/xfs/xfs_trace.h