diff options
author | 2007-03-30 15:02:40 -0500 | |
---|---|---|
committer | 2007-05-01 09:11:10 +0100 | |
commit | 8499137d4ef1829281e04838113b6b09a0bf1269 (patch) | |
tree | 9083983db5099f0a4764194aabc27f81342f13ea /fs/dlm/dlm_internal.h | |
parent | [DLM] split create_message function (diff) | |
download | linux-8499137d4ef1829281e04838113b6b09a0bf1269.tar.gz linux-8499137d4ef1829281e04838113b6b09a0bf1269.tar.bz2 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.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; |