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 153963 Details for
Bug 238719
GFS fsck is has problems with resource groups
[?]
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
238719.patch (text/plain), 1.36 KB, created by
Robert Peterson
on 2007-05-02 16:04:57 UTC
(
hide
)
Description:
patch to fix the problem
Filename:
MIME Type:
Creator:
Robert Peterson
Created:
2007-05-02 16:04:57 UTC
Size:
1.36 KB
patch
obsolete
>Index: rgrp.c >=================================================================== >RCS file: /cvs/cluster/cluster/gfs/gfs_fsck/rgrp.c,v >retrieving revision 1.3.2.5 >diff -w -u -p -p -u -r1.3.2.5 rgrp.c >--- rgrp.c 20 Apr 2006 20:43:41 -0000 1.3.2.5 >+++ rgrp.c 2 May 2007 16:02:48 -0000 >@@ -179,12 +179,27 @@ int fs_rgrp_read(struct fsck_rgrp *rgd, > if (repair_if_corrupted) { > if (query(sdp, "Fix the RG? (y/n)")) { > log_err("Attempting to repair the RG.\n"); >- memset(&rgd->rd_rg, 0, sizeof(struct gfs_rgrp)); >+ if (x) { >+ struct gfs_meta_header mh; >+ >+ memset(&mh, 0, sizeof(mh)); >+ mh.mh_magic = GFS_MAGIC; >+ mh.mh_type = GFS_METATYPE_RB; >+ mh.mh_format = GFS_FORMAT_RB; >+ gfs_meta_header_out(&mh, >+ BH_DATA(rgd->rd_bh[x])); >+ } else { >+ memset(&rgd->rd_rg, 0, >+ sizeof(struct gfs_rgrp)); > rgd->rd_rg.rg_header.mh_magic = GFS_MAGIC; >- rgd->rd_rg.rg_header.mh_type = GFS_METATYPE_RG; >- rgd->rd_rg.rg_header.mh_format = GFS_FORMAT_RG; >+ rgd->rd_rg.rg_header.mh_type = >+ GFS_METATYPE_RG; >+ rgd->rd_rg.rg_header.mh_format = >+ GFS_FORMAT_RG; > rgd->rd_rg.rg_free = rgd->rd_ri.ri_data; >- gfs_rgrp_out(&rgd->rd_rg, BH_DATA(rgd->rd_bh[x])); >+ gfs_rgrp_out(&rgd->rd_rg, >+ BH_DATA(rgd->rd_bh[x])); >+ } > write_buf(sdp, rgd->rd_bh[x], BW_WAIT); > } > }
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 238719
:
153961
| 153963