diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2026-01-23 09:27:37 -0800 |
|---|---|---|
| committer | Darrick J. Wong <djwong@kernel.org> | 2026-01-24 08:46:36 -0800 |
| commit | ba408d299a3bb3c5309f40c5326e4fb83ead4247 (patch) | |
| tree | 00e5c42ee3904cca6404c0011b9dc9be1611adba /rust/alloc/collections/git@git.tavy.me:linux.git | |
| parent | 60382993a2e18041f88c7969f567f168cd3b4de3 (diff) | |
xfs: only call xf{array,blob}_destroy if we have a valid pointer
Only call the xfarray and xfblob destructor if we have a valid pointer,
and be sure to null out that pointer afterwards. Note that this patch
fixes a large number of commits, most of which were merged between 6.9
and 6.10.
Cc: r772577952@gmail.com
Cc: <stable@vger.kernel.org> # v6.12
Fixes: ab97f4b1c03075 ("xfs: repair AGI unlinked inode bucket lists")
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
