From: Dave Chinner Date: Wed, 21 Dec 2011 00:07:42 +0000 (+0000) Subject: xfs: fix endian conversion issue in discard code X-Git-Tag: v3.3-rc1~151^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1c770c273a4787069306fc82aab245e9ac72e9d;p=pandora-kernel.git xfs: fix endian conversion issue in discard code 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 --- Reading git-diff-tree failed