From: Brian Foster Date: Fri, 22 Feb 2013 18:32:56 +0000 (-0500) Subject: xfs: fix potential infinite loop in xfs_iomap_prealloc_size() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~58^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e78c420bfc2608bb5f9a0b9165b1071c1e31166a;p=pandora-kernel.git xfs: fix potential infinite loop in xfs_iomap_prealloc_size() If freesp == 0, we could end up in an infinite loop while squashing the preallocation. Break the loop when we've killed the prealloc entirely. Signed-off-by: Brian Foster Reviewed-by: Dave Chinner Signed-off-by: Ben Myers --- Reading git-diff-tree failed