diff options
author | David Teigland <teigland@redhat.com> | 2007-03-30 15:02:40 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2007-05-01 09:11:10 +0100 |
commit | 8499137d4ef1829281e04838113b6b09a0bf1269 (patch) | |
tree | 9083983db5099f0a4764194aabc27f81342f13ea /fs/dlm/dlm_internal.h | |
parent | 7e4dac33594468153c38b5c94d8ebcafb0e0a68d (diff) | |
download | linux-8499137d4ef1829281e04838113b6b09a0bf1269.tar.bz2 |
[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.h | 1 |
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; |