• D
    [DLM] fix user unlocking · a1bc86e6
    David Teigland 提交于
    When a user process exits, we clear all the locks it holds.  There is a
    problem, though, with locks that the process had begun unlocking before it
    exited.  We couldn't find the lkb's that were in the process of being
    unlocked remotely, to flag that they are DEAD.  To solve this, we move
    lkb's being unlocked onto a new list in the per-process structure that
    tracks what locks the process is holding.  We can then go through this
    list to flag the necessary lkb's when clearing locks for a process when it
    exits.
    Signed-off-by: NDavid Teigland <teigland@redhat.com>
    Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
    a1bc86e6
user.c 19.1 KB