From: Dave Chinner Date: Wed, 20 Jan 2010 01:04:53 +0000 (+1100) Subject: xfs: rearrange xfs_mod_sb() to avoid array subscript warning X-Git-Tag: v2.6.34-rc1~278^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=587aa0feb74ffe3239b5e26ff5d017ba9f5daec9;p=pandora-kernel.git xfs: rearrange xfs_mod_sb() to avoid array subscript warning gcc warns of an array subscript out of bounds in xfs_mod_sb(). The code is written in such a way that if the array subscript is out of bounds, then it will assert fail. Rearrange the code to avoid the bounds check warning. Signed-off-by: Dave Chinner Reviewed-by: Christoph Hellwig --- Reading git-diff-tree failed