Whamcloud - gitweb
LU-2675 cleanup: const correct FID/OSTID/... helpers 41/8641/5
authorJohn L. Hammond <john.hammond@intel.com>
Fri, 20 Dec 2013 20:01:58 +0000 (14:01 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 19 Mar 2014 23:25:00 +0000 (23:25 +0000)
commit68562893a060937cbdf359db4a39413227c9616f
tree915ce852bd24a8cf52ae52f91640992301e44ba4
parentc6853f51b3895d4882ecb11d83b9f58a01808ffd
LU-2675 cleanup: const correct FID/OSTID/... helpers

Add a const qualifier wherever possible to the pointer parameters of
the inline helper functions in lustre_idl.h and lustre_fid.h. Change
the return type of several predicate functions from int to bool.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: Ibe590d7184470cfe8a154fe0935a7d6bea261669
Reviewed-on: http://review.whamcloud.com/8641
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: wangdi <di.wang@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lustre/lustre_idl.h
lustre/include/lustre_fid.h