]> 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)
commit28ad9b21064658306c5c05f8b3952371a0b5eb24
tree35c5c4e5b1ea17101bfe5906b9bcbec4056374a6
parentf4576d81ae3238fa73296b6dbd0a4921f5d399cd
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