aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-scan.c
diff options
context:
space:
mode:
authorYang Xiuwei <[email protected]>2025-10-30 03:03:25 +0000
committerAnna Schumaker <[email protected]>2025-11-10 19:30:45 +0000
commit7a7a3456520b309a0bffa1d9d62bd6c9dcab89b3 (patch)
tree5abe73523f554fafb9a515d311406e5391dec987 /lib/mpi/mpi-scan.c
parentNFSv2/v3: Fix error handling in nfs_atomic_open_v23() (diff)
downloadkernel-7a7a3456520b309a0bffa1d9d62bd6c9dcab89b3.tar.gz
kernel-7a7a3456520b309a0bffa1d9d62bd6c9dcab89b3.zip
NFS: sysfs: fix leak when nfs_client kobject add fails
If adding the second kobject fails, drop both references to avoid sysfs residue and memory leak. Fixes: e96f9268eea6 ("NFS: Make all of /sys/fs/nfs network-namespace unique") Signed-off-by: Yang Xiuwei <[email protected]> Reviewed-by: Benjamin Coddington <[email protected]> Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-scan.c')
0 files changed, 0 insertions, 0 deletions