]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: don't treat all radix_tree_insert errors as -EEXIST
authorChristoph Hellwig <hch@lst.de>
Mon, 10 Nov 2025 13:22:55 +0000 (14:22 +0100)
committerCarlos Maiolino <cem@kernel.org>
Tue, 11 Nov 2025 10:45:57 +0000 (11:45 +0100)
commit36cebabde7866c30b71ecd074e3773dbd768a1d9
treee3c284fbde12837ea94610ef64787febdf96e526
parent005d5ae0c585e11d31df1e721c04f113a8281443
xfs: don't treat all radix_tree_insert errors as -EEXIST

Return other errors to the caller instead.  Note that there really
shouldn't be any other errors because the entry is preallocated, but
if there were, we'd better return them instead of retrying forever.

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_dquot.c