Whamcloud - gitweb
LU-5396: define __acquires, __releases and __must_hold for userspace 81/11481/7
authorFrank Zago <fzago@cray.com>
Fri, 15 Aug 2014 19:42:41 +0000 (14:42 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 27 Aug 2014 15:59:44 +0000 (15:59 +0000)
commit92b7657096fbc67ae14ef278d838cb50efe317cc
tree7c75761b509529335b209ea97dcee8e04f2a1c54
parent9159b2d1393d5a1de1e601d2b0e1978668e5ec13
LU-5396: define __acquires, __releases and __must_hold for userspace

Some functions that are shared between userspace and the kernel have sparse
annotations. So we need to also define these annotations in userspace.

Change-Id: Ie1e55416554d3295ed61fe26615d5241faa53818
Signed-off-by: frank zago <fzago@cray.com>
Reviewed-on: http://review.whamcloud.com/11481
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Tested-by: Jenkins
Reviewed-by: Patrick Farrell <paf@cray.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
libcfs/include/libcfs/libcfs.h