Btrfs: in scrub repair code, simplify alloc error handling
authorStefan Behrens <sbehrens@giantdisaster.de>
Fri, 2 Nov 2012 15:16:26 +0000 (16:16 +0100)
committerJosef Bacik <jbacik@fusionio.com>
Wed, 12 Dec 2012 22:15:31 +0000 (17:15 -0500)
commit34f5c8e90b3f002672cd6b4e6e7c5b959fd981ae
tree64fc8e75af8e7d91b7392c2b99445c48ca23bdba
parentcb2ced73d8c7a38b5f699e267deadf2a2cfe911c
Btrfs: in scrub repair code, simplify alloc error handling

In the scrub repair code, the code is changed to handle memory
allocation errors a little bit smarter. The change is to handle
it just like a read error. This simplifies the code and removes
a couple of lines of code, since the code to handle read errors
is there anyway.

Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/scrub.c
This page took 0.02618 seconds and 5 git commands to generate.