commit | 34f5c8e90b3f002672cd6b4e6e7c5b959fd981ae | [log] [tgz] |
---|---|---|
author | Stefan Behrens <sbehrens@giantdisaster.de> | Fri Nov 02 16:16:26 2012 +0100 |
committer | Josef Bacik <jbacik@fusionio.com> | Wed Dec 12 17:15:31 2012 -0500 |
tree | 64fc8e75af8e7d91b7392c2b99445c48ca23bdba | |
parent | cb2ced73d8c7a38b5f699e267deadf2a2cfe911c [diff] |
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>