diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2022-07-12 15:09:35 +0900 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2022-07-15 20:22:09 +0900 |
commit | 67dd8e445ee0aa5e8bf1d9d866c914ed11626bbd (patch) | |
tree | 02c1b23575f3d89886c4574d9309917ec2af68b9 /net/9p/trans_fd.c | |
parent | 8b11ff098af42b1fa57fc817daadd53c8b244a0c (diff) |
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/20220712060801.2487140-1-asmadeus@codewreck.org
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Reviewed-by: Christian Schoenebeck <linux_oss@crudebyte.com>
Diffstat (limited to 'net/9p/trans_fd.c')
0 files changed, 0 insertions, 0 deletions