]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4b9a6356307708a9df31db474d3577fccd43856d
tree35c5c4e5b1ea17101bfe5906b9bcbec4056374a6
parent67cee62c706b86507bf6d7ad00bec93c1c307683
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