From f36b6553e0ffe2c06ffc025b23c13967754ce7f4 Mon Sep 17 00:00:00 2001 From: Aya Mahfouz Date: Thu, 2 Apr 2015 20:00:24 +0200 Subject: [PATCH] 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-format-patch failed