Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Reviewed-by: Christoph Hellwig <hch@lst.de>
As reported at http://article.gmane.org/gmane.comp.file-systems.xfs.general/29187 this trimming may cause an overflow in the new size calculation. Patch to fix it, and testcase at http://article.gmane.org/gmane.comp.file-systems.xfs.general/29193 Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Reviewed-by: Christoph Hellwig <hch@lst.de>