diff options
author | David Teigland <teigland@redhat.com> | 2006-01-20 03:47:07 -0500 |
---|---|---|
committer | Steven Whitehouse <steve@chygwyn.com> | 2006-01-20 03:47:07 -0500 |
commit | 901359256b2666f52a3a7d3f31927677e91b3a2a (patch) | |
tree | 24d4ee2c1ad63a0e6c3a303ad67eac3342772c4f /fs/dlm/lock.h | |
parent | ec5800246607183a1d7fd0bae5f087c12439e9e7 (diff) |
[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) | |||
38 | 38 | ||
39 | static inline void lock_rsb(struct dlm_rsb *r) | 39 | static inline void lock_rsb(struct dlm_rsb *r) |
40 | { | 40 | { |
41 | down(&r->res_sem); | 41 | mutex_lock(&r->res_mutex); |
42 | } | 42 | } |
43 | 43 | ||
44 | static inline void unlock_rsb(struct dlm_rsb *r) | 44 | static inline void unlock_rsb(struct dlm_rsb *r) |
45 | { | 45 | { |
46 | up(&r->res_sem); | 46 | mutex_unlock(&r->res_mutex); |
47 | } | 47 | } |
48 | 48 | ||
49 | #endif | 49 | #endif |