diff options
| author | Jeff Layton <jlayton@kernel.org> | 2025-04-08 09:43:15 -0400 |
|---|---|---|
| committer | Anna Schumaker <anna.schumaker@oracle.com> | 2025-05-19 10:14:29 -0400 |
| commit | e5296637a322b840d772f88f4d58b4bc72b29058 (patch) | |
| tree | 49a5f6f4e3414831375a9eb3d830481d9eeafc11 /include/linux | |
| parent | fadc0f3bb2de8c570ced6d9c1f97222213d93140 (diff) | |
nfs: add a refcount tracker for struct net as held by the nfs_client
These are long-held references to the netns, so make sure the refcount
tracker is aware of them.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/nfs_fs_sb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h index ee03f3cef30c..e02f4c4e9cc4 100644 --- a/include/linux/nfs_fs_sb.h +++ b/include/linux/nfs_fs_sb.h @@ -125,6 +125,7 @@ struct nfs_client { */ char cl_ipaddr[48]; struct net *cl_net; + netns_tracker cl_ns_tracker; struct list_head pending_cb_stateids; struct rcu_head rcu; |
