linux-stable/fs/9p
Dominique Martinet b48dbb998d 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>
2022-07-02 18:52:21 +09:00
..
acl.c 9p: fix a bunch of checkpatch warnings 2021-11-04 21:04:25 +09:00
acl.h 9p: fix a bunch of checkpatch warnings 2021-11-04 21:04:25 +09:00
cache.c netfs: Fix gcc-12 warning by embedding vfs inode in netfs_i_context 2022-06-09 13:55:00 -07:00
cache.h 9p: Use fscache indexing rewrite and reenable caching 2022-01-10 11:53:06 +00:00
fid.c 9p fid refcount: add p9_fid_get/put wrappers 2022-07-02 18:52:21 +09:00
fid.h 9p fid refcount: add p9_fid_get/put wrappers 2022-07-02 18:52:21 +09:00
Kconfig 9p: Use fscache indexing rewrite and reenable caching 2022-01-10 11:53:06 +00:00
Makefile
v9fs.c netfs: Fix gcc-12 warning by embedding vfs inode in netfs_i_context 2022-06-09 13:55:00 -07:00
v9fs.h netfs: Further cleanups after struct netfs_inode wrapper introduced 2022-06-10 20:55:21 +01:00
v9fs_vfs.h 9p: fix a bunch of checkpatch warnings 2021-11-04 21:04:25 +09:00
vfs_addr.c 9p fid refcount: add p9_fid_get/put wrappers 2022-07-02 18:52:21 +09:00
vfs_dentry.c 9p fid refcount: add p9_fid_get/put wrappers 2022-07-02 18:52:21 +09:00
vfs_dir.c 9p fid refcount: add p9_fid_get/put wrappers 2022-07-02 18:52:21 +09:00
vfs_file.c 9p fid refcount: add p9_fid_get/put wrappers 2022-07-02 18:52:21 +09:00
vfs_inode.c 9p fid refcount: add p9_fid_get/put wrappers 2022-07-02 18:52:21 +09:00
vfs_inode_dotl.c 9p fid refcount: add p9_fid_get/put wrappers 2022-07-02 18:52:21 +09:00
vfs_super.c 9p fid refcount: add p9_fid_get/put wrappers 2022-07-02 18:52:21 +09:00
xattr.c 9p fid refcount: add p9_fid_get/put wrappers 2022-07-02 18:52:21 +09:00
xattr.h 9p: fix a bunch of checkpatch warnings 2021-11-04 21:04:25 +09:00