Whamcloud - gitweb
b=23072 avoid duplicate cfs_size_round declarations
authorAndreas Dilger <andreas.dilger@oracle.com>
Tue, 14 Dec 2010 06:54:49 +0000 (23:54 -0700)
committerVitaly Fertman <vitaly.fertman@oracle.com>
Fri, 17 Dec 2010 01:21:50 +0000 (04:21 +0300)
commit0a6e5c9a3060d0145e516f40457a26bd2a3c25db
tree24d8d1dc5f0eeb51e900e7874c3f4644835624d2
parent05f7614dd143474ebe5212280b62809cd9367d2f
b=23072 avoid duplicate cfs_size_round declarations

Use HAVE_CFS_SIZE_ROUND to determine if libcfs_private.h or lustre_user.h has
declared the cfs_size_round() helper function.  This avoids conflicts if both
of these headers are included in different orders.
libcfs/include/libcfs/libcfs_private.h
lustre/include/lustre/lustre_user.h