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 249291 Details for
Bug 363901
GFS2: sysfs "id" file should contain device id
[?]
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
363901.sysfs_id.patch (text/plain), 498 bytes, created by
Robert Peterson
on 2007-11-06 15:20:07 UTC
(
hide
)
Description:
Patch to fix the problem
Filename:
MIME Type:
Creator:
Robert Peterson
Created:
2007-11-06 15:20:07 UTC
Size:
498 bytes
patch
obsolete
>diff -pur a/fs/gfs2/sys.c b/fs/gfs2/sys.c >--- a/fs/gfs2/sys.c 2007-11-05 09:08:49.000000000 -0600 >+++ b/fs/gfs2/sys.c 2007-11-06 09:00:37.000000000 -0600 >@@ -32,7 +32,8 @@ spinlock_t gfs2_sys_margs_lock; > > static ssize_t id_show(struct gfs2_sbd *sdp, char *buf) > { >- return snprintf(buf, PAGE_SIZE, "%s\n", sdp->sd_vfs->s_id); >+ return snprintf(buf, PAGE_SIZE, "%u:%u\n", >+ MAJOR(sdp->sd_vfs->s_dev), MINOR(sdp->sd_vfs->s_dev)); > } > > static ssize_t fsname_show(struct gfs2_sbd *sdp, char *buf)
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 363901
: 249291