diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2026-01-23 09:27:38 -0800 |
|---|---|---|
| committer | Darrick J. Wong <djwong@kernel.org> | 2026-01-24 08:46:38 -0800 |
| commit | ca27313fb3f23e4ac18532ede4ec1c7cc5814c4a (patch) | |
| tree | 524114ab2e9ee5d964193728baacbcf3093fc72f /rust/alloc/collections/git@git.tavy.me:linux.git | |
| parent | ba408d299a3bb3c5309f40c5326e4fb83ead4247 (diff) | |
xfs: check return value of xchk_scrub_create_subord
Fix this function to return NULL instead of a mangled ENOMEM, then fix
the callers to actually check for a null pointer and return ENOMEM.
Most of the corrections here are for code merged between 6.2 and 6.10.
Cc: r772577952@gmail.com
Cc: <stable@vger.kernel.org> # v6.12
Fixes: 1a5f6e08d4e379 ("xfs: create subordinate scrub contexts for xchk_metadata_inode_subtype")
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Tested-by: Jiaming Zhang <r772577952@gmail.com>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
