• Marc Eshel's avatar
    lockd: save lock state on deferral · 2b36f412
    Marc Eshel authored
    We need to keep some state for a pending asynchronous lock request, so this
    patch adds that state to struct nlm_block.
    
    This also adds a function which defers the request, by calling
    rqstp->rq_chandle.defer and storing the resulting deferred request in a
    nlm_block structure which we insert into lockd's global block list.  That
    new function isn't called yet, so it's dead code until a later patch.
    Signed-off-by: default avatarMarc Eshel <eshel@almaden.ibm.com>
    Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
    2b36f412
svclock.c 19.4 KB