From: Peng Tao Date: Sun, 27 Apr 2014 17:06:41 +0000 (-0400) Subject: staging/lustre/hsm: count NULL terminator in hai_zero/hal_size X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~1148 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d0d422e72ad22fd9d8fd2828166d7f8fa642adb;p=pandora-kernel.git staging/lustre/hsm: count NULL terminator in hai_zero/hal_size If fsname is 8-byte aligned, hai_zero fails to count the ending NULL terminator causing hai to directly attached after fsname and future hai_zero will return a different position for first hai. Signed-off-by: Peng Tao Reviewed-on: http://review.whamcloud.com/9431 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4689 Reviewed-by: Andreas Dilger Reviewed-by: Jinshan Xiong Signed-off-by: Oleg Drokin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed