diff options
author | 2022-06-12 13:42:32 +0900 | |
---|---|---|
committer | 2022-07-02 18:52:21 +0900 | |
commit | b48dbb998d70b7f48c2ec0a15c3cf47136808e4e (patch) | |
tree | 30857d1451aa4ff349eb622fd91944d591793dbc /scripts/generate_rust_analyzer.py | |
parent | 9p: Fix minor typo in code comment (diff) | |
download | wireguard-linux-b48dbb998d70b7f48c2ec0a15c3cf47136808e4e.tar.xz wireguard-linux-b48dbb998d70b7f48c2ec0a15c3cf47136808e4e.zip |
9p fid refcount: add p9_fid_get/put wrappers
I was recently reminded that it is not clear that p9_client_clunk()
was actually just decrementing refcount and clunking only when that
reaches zero: make it clear through a set of helpers.
This will also allow instrumenting refcounting better for debugging
next patch
Link: https://lkml.kernel.org/r/20220612085330.1451496-5-asmadeus@codewreck.org
Reviewed-by: Tyler Hicks <tyhicks@linux.microsoft.com>
Reviewed-by: Christian Schoenebeck <linux_oss@crudebyte.com>
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions