-
- Downloads
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>
Showing
- fs/9p/fid.c 9 additions, 9 deletionsfs/9p/fid.c
- fs/9p/fid.h 1 addition, 1 deletionfs/9p/fid.h
- fs/9p/vfs_addr.c 2 additions, 2 deletionsfs/9p/vfs_addr.c
- fs/9p/vfs_dentry.c 2 additions, 2 deletionsfs/9p/vfs_dentry.c
- fs/9p/vfs_dir.c 1 addition, 1 deletionfs/9p/vfs_dir.c
- fs/9p/vfs_file.c 2 additions, 2 deletionsfs/9p/vfs_file.c
- fs/9p/vfs_inode.c 24 additions, 24 deletionsfs/9p/vfs_inode.c
- fs/9p/vfs_inode_dotl.c 21 additions, 21 deletionsfs/9p/vfs_inode_dotl.c
- fs/9p/vfs_super.c 3 additions, 3 deletionsfs/9p/vfs_super.c
- fs/9p/xattr.c 4 additions, 4 deletionsfs/9p/xattr.c
- include/net/9p/client.h 28 additions, 0 deletionsinclude/net/9p/client.h
- net/9p/client.c 3 additions, 12 deletionsnet/9p/client.c
Loading
Please register or sign in to comment