Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
btrfsprogs
0155-btrfsck-don-t-BUG-on-corrupted-extent-reco...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0155-btrfsck-don-t-BUG-on-corrupted-extent-records.patch of Package btrfsprogs
From ab19832dce62c53452454897fe1d2eaf2e1dbd59 Mon Sep 17 00:00:00 2001 From: Chris Mason <chris.mason@oracle.com> Date: Mon, 6 Feb 2012 08:53:43 -0500 Subject: [PATCH 04/18] btrfsck: don't BUG on corrupted extent records --- btrfsck.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/btrfsck.c b/btrfsck.c index a3c6286..90e9c80 100644 --- a/btrfsck.c +++ b/btrfsck.c @@ -2441,11 +2441,14 @@ static int process_extent_item(struct cache_tree *extent_cache, 0); break; default: - BUG(); + fprintf(stderr, "corrupt extent record: key %Lu %u %Lu\n", + key.objectid, key.type, key.offset); + goto out; } ptr += btrfs_extent_inline_ref_size(type); } WARN_ON(ptr > end); +out: return 0; } -- 1.7.6.233.gd79bc
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor