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:
committed by
J. Bruce Fields
parent
f3f8014862
commit
813fd320c1
@@ -31,4 +31,5 @@ struct nfsd_net {
|
||||
};
|
||||
|
||||
extern int nfsd_net_id;
|
||||
extern struct notifier_block nfsd4_cld_block;
|
||||
#endif /* __NFSD_NETNS_H__ */
|
||||
|
||||
Reference in New Issue
Block a user