diff options
author | Josef Bacik <josef@redhat.com> | 2011-01-25 17:11:54 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-01-28 16:42:34 -0500 |
commit | 7adf5dfbb3af65a00e20b3ead224c3a1b40e4ec4 (patch) | |
tree | 5723e9679a7926ea744c242cc8351e64ce7503e4 /README | |
parent | ad0397a7a97f55fd7f70998ec208c5d8b90310ff (diff) |
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>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions