summaryrefslogtreecommitdiffstats
path: root/fs/fuse
diff options
context:
space:
mode:
authorJosef Bacik <josef@redhat.com>2011-01-25 23:11:54 +0100
committerChris Mason <chris.mason@oracle.com>2011-01-28 22:42:34 +0100
commit7adf5dfbb3af65a00e20b3ead224c3a1b40e4ec4 (patch)
tree5723e9679a7926ea744c242cc8351e64ce7503e4 /fs/fuse
parentBtrfs: do error checking in btrfs_del_csums (diff)
downloadlinux-7adf5dfbb3af65a00e20b3ead224c3a1b40e4ec4.tar.xz
linux-7adf5dfbb3af65a00e20b3ead224c3a1b40e4ec4.zip
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 'fs/fuse')
0 files changed, 0 insertions, 0 deletions