diff options
| author | Chuck Lever <[email protected]> | 2024-10-30 20:11:30 +0000 |
|---|---|---|
| committer | Chuck Lever <[email protected]> | 2024-10-30 20:14:00 +0000 |
| commit | 63a81588cd2025e75fbaf30b65930b76825c456f (patch) | |
| tree | e3cde3c3eb3426867520ca25d4617f481d552e31 /rust/helpers/helpers.c | |
| parent | NFSD: Never decrement pending_async_copies on error (diff) | |
| download | kernel-63a81588cd2025e75fbaf30b65930b76825c456f.tar.gz kernel-63a81588cd2025e75fbaf30b65930b76825c456f.zip | |
rpcrdma: Always release the rpcrdma_device's xa_array
Dai pointed out that the xa_init_flags() in rpcrdma_add_one() needs
to have a matching xa_destroy() in rpcrdma_remove_one() to release
underlying memory that the xarray might have accrued during
operation.
Reported-by: Dai Ngo <[email protected]>
Fixes: 7e86845a0346 ("rpcrdma: Implement generic device removal")
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
