Brian Foster e78c420bfc 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 <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
2013-03-07 12:21:39 -06:00
..
2012-11-14 15:15:08 -06:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2012-11-19 20:11:24 -06:00
2012-11-19 20:11:24 -06:00
2011-07-13 13:43:48 +02:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2011-03-07 10:09:35 +11:00
2011-08-12 16:21:35 -05:00
2013-02-22 23:31:31 -05:00
2012-05-14 16:20:54 -05:00
2013-02-22 23:31:31 -05:00
2011-08-12 16:21:35 -05:00
2013-02-22 23:31:31 -05:00
2011-08-12 16:21:35 -05:00
2010-12-16 16:05:51 -06:00
2012-11-14 15:12:45 -06:00
2011-08-12 16:21:35 -05:00
2012-11-19 20:11:24 -06:00
2012-09-18 01:01:39 -07:00
2012-11-19 20:11:24 -06:00
2012-10-17 12:01:25 -05:00
2012-05-14 16:21:00 -05:00
2012-01-03 22:55:00 -05:00
2011-08-12 16:21:35 -05:00