diff options
Diffstat (limited to 'fs/dlm/lock.c')
-rw-r--r-- | fs/dlm/lock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/dlm/lock.c b/fs/dlm/lock.c index 6ad2b8eb96a5..7c7ac2aaa8b1 100644 --- a/fs/dlm/lock.c +++ b/fs/dlm/lock.c | |||
@@ -3018,7 +3018,7 @@ int dlm_receive_message(struct dlm_header *hd, int nodeid, int recovery) | |||
3018 | { | 3018 | { |
3019 | struct dlm_message *ms = (struct dlm_message *) hd; | 3019 | struct dlm_message *ms = (struct dlm_message *) hd; |
3020 | struct dlm_ls *ls; | 3020 | struct dlm_ls *ls; |
3021 | int error; | 3021 | int error = 0; |
3022 | 3022 | ||
3023 | if (!recovery) | 3023 | if (!recovery) |
3024 | dlm_message_in(ms); | 3024 | dlm_message_in(ms); |
@@ -3135,7 +3135,7 @@ int dlm_receive_message(struct dlm_header *hd, int nodeid, int recovery) | |||
3135 | out: | 3135 | out: |
3136 | dlm_put_lockspace(ls); | 3136 | dlm_put_lockspace(ls); |
3137 | dlm_astd_wake(); | 3137 | dlm_astd_wake(); |
3138 | return 0; | 3138 | return error; |
3139 | } | 3139 | } |
3140 | 3140 | ||
3141 | 3141 | ||