xfs
[Top] [All Lists]

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

To: Brian Foster <bfoster@xxxxxxxxxx>
Subject: Re: [PATCH] xfs: fix potential infinite loop in xfs_iomap_prealloc_size()
From: Ben Myers <bpm@xxxxxxx>
Date: Thu, 7 Mar 2013 12:43:08 -0600
Cc: xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1361557976-54981-1-git-send-email-bfoster@xxxxxxxxxx>
References: <1361557976-54981-1-git-send-email-bfoster@xxxxxxxxxx>
User-agent: Mutt/1.5.20 (2009-06-14)
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@xxxxxxxxxx>

Applied.

-Ben

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [PATCH] xfs: fix potential infinite loop in xfs_iomap_prealloc_size(), Ben Myers <=