diff options
| author | Dominique Martinet <[email protected]> | 2022-07-12 06:09:35 +0000 |
|---|---|---|
| committer | Dominique Martinet <[email protected]> | 2022-07-15 11:22:09 +0000 |
| commit | 67dd8e445ee0aa5e8bf1d9d866c914ed11626bbd (patch) | |
| tree | 02c1b23575f3d89886c4574d9309917ec2af68b9 /drivers/fpga/machxo2-spi.c | |
| parent | 9p: Add client parameter to p9_req_put() (diff) | |
| download | kernel-67dd8e445ee0aa5e8bf1d9d866c914ed11626bbd.tar.gz kernel-67dd8e445ee0aa5e8bf1d9d866c914ed11626bbd.zip | |
9p: roll p9_tag_remove into p9_req_put
mempool prep commit removed the awkward kref usage which didn't
allow passing client pointer easily with the ref, so we no longer
need a separate function to remove the tag from idr.
This has the side benefit that it should be more robust in detecting
leaks: umount will now properly catch unfreed requests as they still
will be in the idr until the last ref is dropped
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Dominique Martinet <[email protected]>
Reviewed-by: Christian Schoenebeck <[email protected]>
Diffstat (limited to 'drivers/fpga/machxo2-spi.c')
0 files changed, 0 insertions, 0 deletions
