diff options
Diffstat (limited to 'fs/dlm/lock.c')
-rw-r--r-- | fs/dlm/lock.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/dlm/lock.c b/fs/dlm/lock.c index 75176b58ae04..6c605fc10613 100644 --- a/fs/dlm/lock.c +++ b/fs/dlm/lock.c | |||
@@ -4266,6 +4266,7 @@ static struct dlm_lkb *search_remid(struct dlm_rsb *r, int nodeid, | |||
4266 | return NULL; | 4266 | return NULL; |
4267 | } | 4267 | } |
4268 | 4268 | ||
4269 | /* needs at least dlm_rcom + rcom_lock */ | ||
4269 | static int receive_rcom_lock_args(struct dlm_ls *ls, struct dlm_lkb *lkb, | 4270 | static int receive_rcom_lock_args(struct dlm_ls *ls, struct dlm_lkb *lkb, |
4270 | struct dlm_rsb *r, struct dlm_rcom *rc) | 4271 | struct dlm_rsb *r, struct dlm_rcom *rc) |
4271 | { | 4272 | { |
@@ -4315,6 +4316,7 @@ static int receive_rcom_lock_args(struct dlm_ls *ls, struct dlm_lkb *lkb, | |||
4315 | the given values and send back our lkid. We send back our lkid by sending | 4316 | the given values and send back our lkid. We send back our lkid by sending |
4316 | back the rcom_lock struct we got but with the remid field filled in. */ | 4317 | back the rcom_lock struct we got but with the remid field filled in. */ |
4317 | 4318 | ||
4319 | /* needs at least dlm_rcom + rcom_lock */ | ||
4318 | int dlm_recover_master_copy(struct dlm_ls *ls, struct dlm_rcom *rc) | 4320 | int dlm_recover_master_copy(struct dlm_ls *ls, struct dlm_rcom *rc) |
4319 | { | 4321 | { |
4320 | struct rcom_lock *rl = (struct rcom_lock *) rc->rc_buf; | 4322 | struct rcom_lock *rl = (struct rcom_lock *) rc->rc_buf; |
@@ -4370,6 +4372,7 @@ int dlm_recover_master_copy(struct dlm_ls *ls, struct dlm_rcom *rc) | |||
4370 | return error; | 4372 | return error; |
4371 | } | 4373 | } |
4372 | 4374 | ||
4375 | /* needs at least dlm_rcom + rcom_lock */ | ||
4373 | int dlm_recover_process_copy(struct dlm_ls *ls, struct dlm_rcom *rc) | 4376 | int dlm_recover_process_copy(struct dlm_ls *ls, struct dlm_rcom *rc) |
4374 | { | 4377 | { |
4375 | struct rcom_lock *rl = (struct rcom_lock *) rc->rc_buf; | 4378 | struct rcom_lock *rl = (struct rcom_lock *) rc->rc_buf; |