Josef Bacik 7adf5dfbb3 Btrfs: handle no memory properly in prepare_pages
Instead of doing a BUG_ON(1) in prepare_pages if grab_cache_page() fails, just
loop through the pages we've already grabbed and unlock and release them, then
return -ENOMEM like we should.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
2011-01-28 16:42:34 -05:00
..
2011-01-16 11:30:20 -05:00
2008-09-25 11:04:06 -04:00
2010-12-22 23:15:47 +08:00
2010-12-22 23:15:50 +08:00
2010-12-22 23:15:47 +08:00
2010-12-23 08:49:17 +08:00
2010-05-21 18:31:18 -04:00