ocfs2: report error from o2hb_do_disk_heartbeat() to user
authorJan Kara <[email protected]>
Wed, 10 Dec 2014 23:41:45 +0000 (15:41 -0800)
committerLinus Torvalds <[email protected]>
Thu, 11 Dec 2014 01:41:03 +0000 (17:41 -0800)
commitf5425fcea72eec084c50f36db4d25f697227c602
tree764b95d26d3f9a0cda8e93d4fb405ad9f1d26a8e
parent4a635a113bfe1eaa184410d6b6065cd8eee13607
ocfs2: report error from o2hb_do_disk_heartbeat() to user

Report return value of o2hb_do_disk_heartbeat() as a part of ML_HEARTBEAT
message so that we know whether a heartbeat actually happened or not.
This also makes assigned but otherwise unused 'ret' variable used.

Coverity id: 1227053.

Signed-off-by: Jan Kara <[email protected]>
Cc: Mark Fasheh <[email protected]>
Cc: Joel Becker <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/ocfs2/cluster/heartbeat.c