Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 502805 Details for
Bug 679080
fsck.gfs2: segfault in pass1b
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh92 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Final patch
bz679080.RHEL6.patch (text/plain), 906 bytes, created by
Robert Peterson
on 2011-06-03 12:55:35 UTC
(
hide
)
Description:
Final patch
Filename:
MIME Type:
Creator:
Robert Peterson
Created:
2011-06-03 12:55:35 UTC
Size:
906 bytes
patch
obsolete
>commit e9a69100bf11c054baeb659ba9760c713d0162cb >Author: Bob Peterson <rpeterso@redhat.com> >Date: Fri Jun 3 07:17:25 2011 -0500 > > fsck.gfs2: segfault in pass1b > > The problem occurred when there were duplicate block > references in a dinode but all references in the duplicate > list are eventually deleted due to other corruption. > The fix is an additional check whether the list is empty. > > rhbz#679080 > >diff --git a/gfs2/fsck/pass1b.c b/gfs2/fsck/pass1b.c >index 4d97879..7f79783 100644 >--- a/gfs2/fsck/pass1b.c >+++ b/gfs2/fsck/pass1b.c >@@ -542,7 +542,7 @@ static int handle_dup_blk(struct gfs2_sbd *sbp, struct duptree *b) > last_reference = clear_a_reference(sbp, b, &b->ref_inode_list, > &dh, 0); > >- if (last_reference) { >+ if (last_reference && !osi_list_empty(&b->ref_inode_list)) { > uint8_t q; > > /* If we're down to a single reference (and not all references
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 679080
: 502805