diff options
author | Joseph Qi <[email protected]> | 2013-07-03 15:00:47 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2013-07-03 16:07:23 -0700 |
commit | 22ab9014bfdaf97449759aef946871aabe78bb40 (patch) | |
tree | c9521841205a32216d16959e9449d6379b7cf856 /lib/cpu-notifier-error-inject.c | |
parent | 82d627cf1f41c6ca550bb404dfbc4bae2c954611 (diff) |
fs/ocfs2/dlm/dlmrecovery.c:dlm_request_all_locks(): ret should be int instead of enum
In dlm_request_all_locks, ret is type enum. But o2net_send_message
returns a type int value. Then it will never run into the following
error branch. So we should change the ret type from enum to int.
Signed-off-by: Joseph Qi <[email protected]>
Cc: Joel Becker <[email protected]>
Cc: Mark Fasheh <[email protected]>
Acked-by: Sunil Mushran <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions