Whamcloud - gitweb
LU-5631 obdclass: Proper swabbing of llog_rec_tail. 37/11937/2
authorHenri Doreau <henri.doreau@cea.fr>
Tue, 16 Sep 2014 10:34:07 +0000 (12:34 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 18 Sep 2014 10:24:21 +0000 (10:24 +0000)
commit422ac1e37a1686e503d60a95aa2ac3a8fa13bd17
tree6271a75f769b7cd1e35a44aa4d139ab9646e26dd
parent229ca819001710e5a53b335ef9a3623daf692386
LU-5631 obdclass: Proper swabbing of llog_rec_tail.

A variable-length structure preceeds llog_rec_tail within an llog
block. Thus cr_tail shouldn't be accessed directly as a structure
member but its actual location should be computed dynamically.

Signed-off-by: Henri Doreau <henri.doreau@cea.fr>
Change-Id: I2d244797d107cf52f647e19b2db780138e910925
Reviewed-on: http://review.whamcloud.com/11937
Tested-by: Jenkins
Reviewed-by: jacques-Charles Lafoucriere <jacques-charles.lafoucriere@cea.fr>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/obdclass/llog_swab.c