]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[DLM] add orphan purging code (1/2)
authorDavid Teigland <teigland@redhat.com>
Fri, 30 Mar 2007 20:02:40 +0000 (15:02 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 1 May 2007 08:11:10 +0000 (09:11 +0100)
commit8499137d4ef1829281e04838113b6b09a0bf1269
tree9083983db5099f0a4764194aabc27f81342f13ea
parent7e4dac33594468153c38b5c94d8ebcafb0e0a68d
[DLM] add orphan purging code (1/2)

Add code for purging orphan locks.  A process can also purge all of its
own non-orphan locks by passing a pid of zero.  Code already exists for
processes to create persistent locks that become orphans when the process
exits, but the complimentary capability for another process to then purge
these orphans has been missing.

Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/dlm/dlm_internal.h
fs/dlm/lock.c