• Chuck Lever's avatar
    NSM: Move nsm_find() to fs/lockd/mon.c · 67c6d107
    Chuck Lever authored
    The nsm_find() function sets up fresh nsm_handle entries.  This is
    where we will store the "priv" cookie used to lookup nsm_handles during
    reboot recovery.  The cookie will be constructed when nsm_find()
    creates a new nsm_handle.
    
    As much as possible, I would like to keep everything that handles a
    "priv" cookie in fs/lockd/mon.c so that all the smarts are in one
    source file.  That organization should make it pretty simple to see how
    all this works.
    
    To me, it makes more sense than the current arrangement to keep
    nsm_find() with nsm_monitor() and nsm_unmonitor().
    
    So, start reorganizing by moving nsm_find() into fs/lockd/mon.c.  The
    nsm_release() function comes along too, since it shares the nsm_lock
    global variable.
    Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
    Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
    67c6d107
Name
Last commit
Last update
..
bind.h Loading commit data...
debug.h Loading commit data...
lockd.h Loading commit data...
nlm.h Loading commit data...
share.h Loading commit data...
sm_inter.h Loading commit data...
xdr.h Loading commit data...
xdr4.h Loading commit data...