swh:1:snp:32555a3fd8878f019c2ebd6c964bc1edcaeff337
Raw File
Tip revision: d07f6ca923ea0927a1024dfccafc5b53b61cfecc authored by Linus Torvalds on 16 May 2021, 22:27:44 UTC
Linux 5.13-rc2
Tip revision: d07f6ca
netns.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __LOCKD_NETNS_H__
#define __LOCKD_NETNS_H__

#include <linux/fs.h>
#include <net/netns/generic.h>

struct lockd_net {
	unsigned int nlmsvc_users;
	unsigned long next_gc;
	unsigned long nrhosts;

	struct delayed_work grace_period_end;
	struct lock_manager lockd_manager;

	struct list_head nsm_handles;
};

extern unsigned int lockd_net_id;

#endif
back to top