From: Aya Mahfouz Date: Thu, 2 Apr 2015 18:00:24 +0000 (+0200) Subject: staging: lustre: include: replace OBD_CHECK_DEV_ACTIVE by obd_check_dev_active X-Git-Tag: omap-for-v4.2/o2_dc~155^2~138^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f36b6553e0ffe2c06ffc025b23c13967754ce7f4;p=pandora-kernel.git staging: lustre: include: replace OBD_CHECK_DEV_ACTIVE by obd_check_dev_active Static inline functions are preferred over macros. The inline function obd_check_dev_active is introduced to replace OBD_CHECK_DEV_ACTIVE. All functions that call obd_check_dev_active store the return values and return them if they represent an error code. Some of the changes were carried out manually while others were done using coccinelle. Signed-off-by: Aya Mahfouz Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed