[PATCH] xfs: fix potential infinite loop in xfs_iomap_prealloc_size()

Ben Myers bpm at sgi.com
Thu Mar 7 12:43:08 CST 2013


On Fri, Feb 22, 2013 at 01:32:56PM -0500, Brian Foster wrote:
> 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 <bfoster at redhat.com>

Applied.

-Ben



More information about the xfs mailing list