Staging: lustre: include: Convert macro class_export_lock_get into static inline...
authorKsenija Stanojevic <ksenija.stanojevic@gmail.com>
Sat, 17 Oct 2015 16:18:34 +0000 (18:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 18 Oct 2015 03:16:37 +0000 (20:16 -0700)
commitedc6a40e3a75650be003be0e35a54f3edc6b4f7e
tree35c5c4e5b1ea17101bfe5906b9bcbec4056374a6
parenta1d825e9376b7c3c9a3eaa26d14bb74c3c3ff2d0
Staging: lustre: include: Convert macro class_export_lock_get into static inline function

Static inline functions are preferred over macros. This change is safe
because the types of arguments at all the call sites are same.

Signed-off-by: Ksenija Stanojevic <ksenija.stanojevic@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/include/obd_class.h