diff options
author | David Teigland <teigland@redhat.com> | 2006-01-20 09:47:07 +0100 |
---|---|---|
committer | Steven Whitehouse <steve@chygwyn.com> | 2006-01-20 09:47:07 +0100 |
commit | 901359256b2666f52a3a7d3f31927677e91b3a2a (patch) | |
tree | 24d4ee2c1ad63a0e6c3a303ad67eac3342772c4f /fs/dlm/lock.h | |
parent | [DLM] Export config_group_find_obj for use by the DLM (diff) | |
download | linux-901359256b2666f52a3a7d3f31927677e91b3a2a.tar.xz linux-901359256b2666f52a3a7d3f31927677e91b3a2a.zip |
[DLM] Update DLM to the latest patch level
Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Steve Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/dlm/lock.h')
-rw-r--r-- | fs/dlm/lock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/dlm/lock.h b/fs/dlm/lock.h index 9e6499f773da..bffab9c88b1d 100644 --- a/fs/dlm/lock.h +++ b/fs/dlm/lock.h @@ -38,12 +38,12 @@ static inline int is_master(struct dlm_rsb *r) static inline void lock_rsb(struct dlm_rsb *r) { - down(&r->res_sem); + mutex_lock(&r->res_mutex); } static inline void unlock_rsb(struct dlm_rsb *r) { - up(&r->res_sem); + mutex_unlock(&r->res_mutex); } #endif |