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>
This commit is contained in:
Jeff Layton
2012-03-21 09:52:08 -04:00
committed by J. Bruce Fields
parent f3f8014862
commit 813fd320c1
3 changed files with 53 additions and 1 deletions

View File

@@ -31,4 +31,5 @@ struct nfsd_net {
};
extern int nfsd_net_id;
extern struct notifier_block nfsd4_cld_block;
#endif /* __NFSD_NETNS_H__ */