diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2024-10-30 16:11:30 -0400 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2024-10-30 16:14:00 -0400 |
commit | 63a81588cd2025e75fbaf30b65930b76825c456f (patch) | |
tree | e3cde3c3eb3426867520ca25d4617f481d552e31 /fs | |
parent | 8286f8b622990194207df9ab852e0f87c60d35e9 (diff) |
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 <dai.ngo@oracle.com>
Fixes: 7e86845a0346 ("rpcrdma: Implement generic device removal")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions