]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fs/ocfs2/dlm/dlmrecovery.c:dlm_request_all_locks(): ret should be int instead of...
authorJoseph Qi <joseph.qi@huawei.com>
Thu, 27 Jun 2013 23:51:03 +0000 (09:51 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:37:16 +0000 (16:37 +1000)
commit1d225121e7f4ba3ed186eb4dc30cdb2e9b2c1f29
tree69954fc31dba60475e3c4f763d9416c3a0a42e60
parent9b47b636388a2e87e91248af88b416843ef431f5
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>
fs/ocfs2/dlm/dlmrecovery.c