Skip to content

Commit

Permalink
9p: roll p9_tag_remove into p9_req_put
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
martinetd committed Jul 15, 2022
1 parent 8b11ff0 commit 67dd8e4
Showing 1 changed file with 51 additions and 50 deletions.
Loading

0 comments on commit 67dd8e4

Please sign in to comment.