summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/netns.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2012-03-21 14:52:08 +0100
committerJ. Bruce Fields <bfields@redhat.com>2012-03-26 17:49:48 +0200
commit813fd320c16691eac508fe350b4ee7362c6c4a56 (patch)
tree3ec14685fb13b2f5fba6ed1ce78e5e6bdb7c173e /fs/nfsd/netns.h
parentnfsd: add the infrastructure to handle the cld upcall (diff)
downloadlinux-813fd320c16691eac508fe350b4ee7362c6c4a56.tar.xz
linux-813fd320c16691eac508fe350b4ee7362c6c4a56.zip
nfsd: add notifier to handle mount/unmount of rpc_pipefs sb
In the event that rpc_pipefs isn't mounted when nfsd starts, we must register a notifier to handle creating the dentry once it is mounted, and to remove the dentry on unmount. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/netns.h')
-rw-r--r--fs/nfsd/netns.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/netns.h b/fs/nfsd/netns.h
index 12e0cff435b4..66eac332bf8d 100644
--- a/fs/nfsd/netns.h
+++ b/fs/nfsd/netns.h
@@ -31,4 +31,5 @@ struct nfsd_net {
};
extern int nfsd_net_id;
+extern struct notifier_block nfsd4_cld_block;
#endif /* __NFSD_NETNS_H__ */