ocfs2/net: fix uninitialized ret in o2net_send_message_vec()
authorWu Fengguang <fengguang.wu@intel.com>
Sat, 21 Aug 2010 06:40:20 +0000 (14:40 +0800)
committerJoel Becker <joel.becker@oracle.com>
Sat, 18 Sep 2010 15:48:54 +0000 (08:48 -0700)
commit50aff040363d31f87e94f38f1710973d99489951
treed29b62cf860f82c9cb977b83b2b193306beb2a44
parent228ac6357718df2d5c8d70210fa51b2225aab5ee
ocfs2/net: fix uninitialized ret in o2net_send_message_vec()

mmotm/fs/ocfs2/cluster/tcp.c: In function ‘o2net_send_message_vec’:
mmotm/fs/ocfs2/cluster/tcp.c:980:6: warning: ‘ret’ may be used uninitialized in this function

It seems a real bug introduced by commit 9af0b38ff3 (ocfs2/net:
Use wait_event() in o2net_send_message_vec()).

cc: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/cluster/tcp.c