Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 317605 Details for
Bug 463588
GFS2: gfs2_fsck segfaults when extended attributes are on the file system
[?]
New
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.rh83 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]
Patch to fix the problem
463588.patch (text/plain), 1.63 KB, created by
Robert Peterson
on 2008-09-24 16:45:45 UTC
(
hide
)
Description:
Patch to fix the problem
Filename:
MIME Type:
Creator:
Robert Peterson
Created:
2008-09-24 16:45:45 UTC
Size:
1.63 KB
patch
obsolete
> gfs2/fsck/pass1b.c | 4 ++-- > gfs2/fsck/pass1c.c | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/gfs2/fsck/pass1b.c b/gfs2/fsck/pass1b.c >index 0fcfc06..8c2bb75 100644 >--- a/gfs2/fsck/pass1b.c >+++ b/gfs2/fsck/pass1b.c >@@ -470,7 +470,7 @@ int pass1b(struct gfs2_sbd *sbp) > struct blocks *b; > uint64_t i; > struct gfs2_block_query q; >- osi_list_t *tmp = NULL; >+ osi_list_t *tmp = NULL, *x; > struct metawalk_fxns find_dirents = {0}; > find_dirents.check_dentry = &find_dentry; > int rc = 0; >@@ -506,7 +506,7 @@ int pass1b(struct gfs2_sbd *sbp) > (q.block_type == gfs2_inode_chr) || > (q.block_type == gfs2_inode_fifo) || > (q.block_type == gfs2_inode_sock)) { >- osi_list_foreach(tmp, &sbp->dup_blocks.list) { >+ osi_list_foreach_safe(tmp, &sbp->dup_blocks.list, x) { > b = osi_list_entry(tmp, struct blocks, list); > if(find_block_ref(sbp, i, b)) { > stack; >diff --git a/gfs2/fsck/pass1c.c b/gfs2/fsck/pass1c.c >index 4e42021..f8d57d7 100644 >--- a/gfs2/fsck/pass1c.c >+++ b/gfs2/fsck/pass1c.c >@@ -238,7 +238,7 @@ int pass1c(struct gfs2_sbd *sbp) > struct gfs2_inode *ip = NULL; > struct metawalk_fxns pass1c_fxns = { 0 }; > int error = 0; >- osi_list_t *tmp; >+ osi_list_t *tmp, *x; > struct special_blocks *ea_block; > enum update_flags want_updated = not_updated; > >@@ -249,7 +249,7 @@ int pass1c(struct gfs2_sbd *sbp) > pass1c_fxns.private = NULL; > > log_info("Looking for inodes containing ea blocks...\n"); >- osi_list_foreach(tmp, &sbp->eattr_blocks.list) { >+ osi_list_foreach_safe(tmp, &sbp->eattr_blocks.list, x) { > ea_block = osi_list_entry(tmp, struct special_blocks, list); > block_no = ea_block->block; >
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 463588
:
317542
| 317605