summaryrefslogtreecommitdiffstats
path: root/fs/dlm/lock.h
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2007-03-30 15:06:16 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2007-05-01 09:11:12 +0100
commit72c2be776bd6eec5186e316e6d9dd4aab78d314d (patch)
tree378338f229887375efbb3388068a148227b72b23 /fs/dlm/lock.h
parent8499137d4ef1829281e04838113b6b09a0bf1269 (diff)
downloadop-kernel-dev-72c2be776bd6eec5186e316e6d9dd4aab78d314d.zip
op-kernel-dev-72c2be776bd6eec5186e316e6d9dd4aab78d314d.tar.gz
[DLM] interface for purge (2/2)
Add code to accept purge commands from userland. Signed-off-by: David Teigland <teigland@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/dlm/lock.h')
-rw-r--r--fs/dlm/lock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/dlm/lock.h b/fs/dlm/lock.h
index 0843a30..64fc4ec 100644
--- a/fs/dlm/lock.h
+++ b/fs/dlm/lock.h
@@ -41,6 +41,8 @@ int dlm_user_unlock(struct dlm_ls *ls, struct dlm_user_args *ua_tmp,
uint32_t flags, uint32_t lkid, char *lvb_in);
int dlm_user_cancel(struct dlm_ls *ls, struct dlm_user_args *ua_tmp,
uint32_t flags, uint32_t lkid);
+int dlm_user_purge(struct dlm_ls *ls, struct dlm_user_proc *proc,
+ int nodeid, int pid);
void dlm_clear_proc_locks(struct dlm_ls *ls, struct dlm_user_proc *proc);
static inline int is_master(struct dlm_rsb *r)
OpenPOWER on IntegriCloud