• Trond Myklebust's avatar
    SUNRPC: Add a framework to clean up management of rpc_pipefs directories · 6739ffb7
    Trond Myklebust authored
    The current system requires everyone to set up notifiers, manage directory
    locking, etc.
    What we really want to do is have the rpc_client create its directory,
    and then create all the entries.
    
    This patch will allow the RPCSEC_GSS and NFS code to register all the
    objects that they want to have appear in the directory, and then have
    the sunrpc code call them back to actually create/destroy their pipefs
    dentries when the rpc_client creates/destroys the parent.
    Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
    6739ffb7
rpc_pipe.c 31.8 KB