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 315223 Details for
Bug 459630
GFS2: changes needed to gfs2-utils due to gfs2meta fs changes in bz 457798
[?]
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 mount '-o meta' insteaed of '-t gfs2meta'
bz459630.patch (text/plain), 1.16 KB, created by
Abhijith Das
on 2008-08-28 14:50:29 UTC
(
hide
)
Description:
patch to mount '-o meta' insteaed of '-t gfs2meta'
Filename:
MIME Type:
Creator:
Abhijith Das
Created:
2008-08-28 14:50:29 UTC
Size:
1.16 KB
patch
obsolete
>diff -Nupr a/gfs2/libgfs2/misc.c b/gfs2/libgfs2/misc.c >--- a/gfs2/libgfs2/misc.c 2008-08-27 09:51:45.000000000 -0500 >+++ b/gfs2/libgfs2/misc.c 2008-08-27 15:13:43.000000000 -0500 >@@ -114,7 +114,7 @@ int > find_gfs2_meta(struct gfs2_sbd *sdp) > { > FILE *fp = fopen("/proc/mounts", "r"); >- char name[] = "gfs2meta"; >+ char name[] = "gfs2"; > char buffer[PATH_MAX]; > char fstype[80], mfsoptions[PATH_MAX]; > char meta_device[PATH_MAX]; >@@ -137,9 +137,8 @@ find_gfs2_meta(struct gfs2_sbd *sdp) > meta_path, fstype,mfsoptions, &fsdump, > &fspass) != 6) > continue; >- >- if (strcmp(meta_device, sdp->device_name) == 0 || >- strcmp(meta_device, sdp->path_name) == 0) { >+ if (strcmp(meta_device, sdp->device_name) == 0 && >+ strstr(mfsoptions, "meta") == 0) { > fclose(fp); > sdp->metafs_mounted = FALSE; > strcpy(sdp->metafs_path, meta_path); >@@ -237,7 +236,7 @@ mount_gfs2_meta(struct gfs2_sbd *sdp) > strerror(errno)); > } > >- ret = mount(sdp->device_name, sdp->metafs_path, "gfs2meta", 0, NULL); >+ ret = mount(sdp->device_name, sdp->metafs_path, "gfs2", 0, "meta"); > if (ret) > die("Couldn't mount %s : %s\n", sdp->metafs_path, > strerror(errno));
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 459630
:
315223
|
316527