From: Henri Doreau Date: Mon, 2 Feb 2015 02:52:09 +0000 (-0500) Subject: staging/lustre/obdclass: Proper swabbing of llog_rec_tail. X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~83^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbab2d8563d8a988dd4ec740ab9c06a4f86890ea;p=pandora-kernel.git staging/lustre/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 Reviewed-on: http://review.whamcloud.com/11937 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5631 Reviewed-by: jacques-Charles Lafoucriere Reviewed-by: Andreas Dilger Signed-off-by: Oleg Drokin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed