Whamcloud - gitweb
LU-5504 utils: add const qualifier to changelog accessors. 17/11517/2
authorThomas Leibovici <thomas.leibovici@cea.fr>
Tue, 19 Aug 2014 11:51:05 +0000 (13:51 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 6 Sep 2014 02:51:25 +0000 (02:51 +0000)
commit6e1365aa6f98a38fb6ccf5e1a3ef24c70abcbab3
treee5290371dad0afb37485dfae9ce27cd4210bab06
parent3b5fc14da24a5c78346c2f42ea61b51c1d8c6191
LU-5504 utils: add const qualifier to changelog accessors.

The following accessors don't need to modify their argument:
changelog_rec_size(), changelog_rec_name(), changelog_rec_snamelen(),
changelog_rec_sname().
Make their prototype more rigorous by adding a "const" qualifier.

Signed-off-by: Thomas Leibovici <thomas.leibovici@cea.fr>
Change-Id: I7915a2487b2b772482c777c4c19ec947b7015b74
Reviewed-on: http://review.whamcloud.com/11517
Tested-by: Jenkins
Reviewed-by: frank zago <fzago@cray.com>
Reviewed-by: Henri Doreau <henri.doreau@cea.fr>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lustre/lustre_user.h