Tag: f36b6553e0ffe2c06ffc025b23c13967754ce7f4

staging: lustre: include: replace OBD_CHECK_DEV_ACTIVE by obd_check_dev_active

Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> 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 …

Continue reading