nfsd: add notifier to handle mount/unmount of rpc_pipefs sb
authorJeff Layton <jlayton@redhat.com>
Wed, 21 Mar 2012 13:52:08 +0000 (09:52 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 26 Mar 2012 15:49:48 +0000 (11:49 -0400)
commit813fd320c16691eac508fe350b4ee7362c6c4a56
tree3ec14685fb13b2f5fba6ed1ce78e5e6bdb7c173e
parentf3f8014862d813cca81a597c83bd1dbf0fb2b8f6
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>
fs/nfsd/netns.h
fs/nfsd/nfs4recover.c
fs/nfsd/nfsctl.c