Whamcloud - gitweb
LU-5504 utils: add const qualifier to changelog accessors. 87/13787/3
authorFrank Zago <fzago@cray.com>
Tue, 17 Feb 2015 21:11:40 +0000 (15:11 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 25 Mar 2015 13:06:52 +0000 (13:06 +0000)
commit7505b4e4f99af589ce09ef97d21f0abc00ae79a8
tree02090250aa6ea37f4d677c87e95a5d6fc8daa85a
parente6cb857c98bdd09ce36d3d6a4018494c1dfd8435
LU-5504 utils: add const qualifier to changelog accessors.

Commit 6e1365 changed 4 functions, and commit 0f22e4 accidentally
reverted them.

This patch put them back, as well as adding new ones to
changelog_rec_size(), changelog_rec_varsize(), changelog_rec_rename()
and changelog_rec_jobid().

6e1365 also changed changelog_rec_name() and changelog_rec_sname() to
return a const, but that is not possible anymore.

Signed-off-by: frank zago <fzago@cray.com>
Change-Id: I19e389c422795c2ece4d7af369099cb733d3cb1a
Reviewed-on: http://review.whamcloud.com/13787
Tested-by: Jenkins
Reviewed-by: Henri Doreau <henri.doreau@cea.fr>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/include/lustre/lustre_user.h