From: Christophe JAILLET Date: Fri, 4 Sep 2015 22:43:46 +0000 (-0700) Subject: ocfs2: do not log twice error messages X-Git-Tag: omap-for-v4.3/fixes-rc1~87^2~93 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=372a447c4bb8271d128def5f93e3365d5d06b4d8;p=pandora-kernel.git ocfs2: do not log twice error messages 'o2hb_map_slot_data' and 'o2hb_populate_slot_data' are called from only one place, in 'o2hb_region_dev_write'. Return value is checked and 'mlog_errno' is called to log a message if it is not 0. So there is no need to call 'mlog_errno' directly within these functions. This would result on logging the message twice. Signed-off-by: Christophe JAILLET Cc: Mark Fasheh Cc: Joel Becker Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed