[PATCH] xfs: fix potential infinite loop in xfs_iomap_prealloc_size()
Dave Chinner
david at fromorbit.com
Fri Feb 22 18:56:45 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>
Looks good.
Reviewed-by: Dave Chinner <dchinner at redhat.com>
--
Dave Chinner
david at fromorbit.com
More information about the xfs
mailing list