From: Dave Chinner Date: Wed, 18 Jan 2012 20:41:45 +0000 (-0600) Subject: xfs: fix endian conversion issue in discard code X-Git-Tag: v3.2.2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afa2f5f83ea3ab46e90206e39578eaa61daf49f0;p=pandora-kernel.git xfs: fix endian conversion issue in discard code commit b1c770c273a4787069306fc82aab245e9ac72e9d upstream When finding the longest extent in an AG, we read the value directly out of the AGF buffer without endian conversion. This will give an incorrect length, resulting in FITRIM operations potentially not trimming everything that it should. Signed-off-by: Dave Chinner Reviewed-by: Christoph Hellwig Signed-off-by: Ben Myers Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed