summaryrefslogtreecommitdiffstats
path: root/fs/dlm/dlm_internal.h
diff options
context:
space:
mode:
authorDavid Teigland2007-03-30 22:02:40 +0200
committerSteven Whitehouse2007-05-01 10:11:10 +0200
commit8499137d4ef1829281e04838113b6b09a0bf1269 (patch)
tree9083983db5099f0a4764194aabc27f81342f13ea /fs/dlm/dlm_internal.h
parent[DLM] split create_message function (diff)
downloadkernel-qcow2-linux-8499137d4ef1829281e04838113b6b09a0bf1269.tar.gz
kernel-qcow2-linux-8499137d4ef1829281e04838113b6b09a0bf1269.tar.xz
kernel-qcow2-linux-8499137d4ef1829281e04838113b6b09a0bf1269.zip
[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>
Diffstat (limited to 'fs/dlm/dlm_internal.h')
-rw-r--r--fs/dlm/dlm_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/dlm/dlm_internal.h b/fs/dlm/dlm_internal.h
index 178931cca67c..30994d68f6a0 100644
--- a/fs/dlm/dlm_internal.h
+++ b/fs/dlm/dlm_internal.h
@@ -342,6 +342,7 @@ struct dlm_header {
#define DLM_MSG_LOOKUP 11
#define DLM_MSG_REMOVE 12
#define DLM_MSG_LOOKUP_REPLY 13
+#define DLM_MSG_PURGE 14
struct dlm_message {
struct dlm_header m_header;