diff options
author | Joseph Qi <joseph.qi@huawei.com> | 2013-07-04 00:00:47 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-04 01:07:23 +0200 |
commit | 22ab9014bfdaf97449759aef946871aabe78bb40 (patch) | |
tree | c9521841205a32216d16959e9449d6379b7cf856 /fs/ocfs2/namei.c | |
parent | fs/ocfs2/dlm/dlmrecovery.c: remove duplicate declarations (diff) | |
download | linux-22ab9014bfdaf97449759aef946871aabe78bb40.tar.xz linux-22ab9014bfdaf97449759aef946871aabe78bb40.zip |
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 <joseph.qi@huawei.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Mark Fasheh <mfasheh@suse.com>
Acked-by: Sunil Mushran <sunil.mushran@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ocfs2/namei.c')
0 files changed, 0 insertions, 0 deletions