aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dlm/dlm_internal.h
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2007-03-30 16:02:40 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2007-05-01 04:11:10 -0400
commit8499137d4ef1829281e04838113b6b09a0bf1269 (patch)
tree9083983db5099f0a4764194aabc27f81342f13ea /fs/dlm/dlm_internal.h
parent7e4dac33594468153c38b5c94d8ebcafb0e0a68d (diff)
[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 {
342#define DLM_MSG_LOOKUP 11 342#define DLM_MSG_LOOKUP 11
343#define DLM_MSG_REMOVE 12 343#define DLM_MSG_REMOVE 12
344#define DLM_MSG_LOOKUP_REPLY 13 344#define DLM_MSG_LOOKUP_REPLY 13
345#define DLM_MSG_PURGE 14
345 346
346struct dlm_message { 347struct dlm_message {
347 struct dlm_header m_header; 348 struct dlm_header m_header;