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 312443 Details for
Bug 250104
RHEL5 Kernel patches for blktap statistics
[?]
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 3 for blktap statistics v2
linux-2.6.18-xen-blktap-stats-14044-3-v2.patch (text/plain), 1.09 KB, created by
Chris Lalancette
on 2008-07-23 09:56:02 UTC
(
hide
)
Description:
Patch 3 for blktap statistics v2
Filename:
MIME Type:
Creator:
Chris Lalancette
Created:
2008-07-23 09:56:02 UTC
Size:
1.09 KB
patch
obsolete
>diff -urp linux-2.6.18.noarch.patch2/drivers/xen/blktap/xenbus.c linux-2.6.18.noarch.patch3/drivers/xen/blktap/xenbus.c >--- linux-2.6.18.noarch.patch2/drivers/xen/blktap/xenbus.c 2008-07-17 07:01:02.000000000 -0400 >+++ linux-2.6.18.noarch.patch3/drivers/xen/blktap/xenbus.c 2008-07-17 07:09:53.000000000 -0400 >@@ -47,6 +47,7 @@ struct backend_info > blkif_t *blkif; > struct xenbus_watch backend_watch; > int xenbus_id; >+ int group_added; > }; > > >@@ -150,7 +151,12 @@ static struct attribute_group tapstat_gr > > int xentap_sysfs_addif(struct xenbus_device *dev) > { >- return sysfs_create_group(&dev->dev.kobj, &tapstat_group); >+ int err; >+ struct backend_info *be = dev->dev.driver_data; >+ err = sysfs_create_group(&dev->dev.kobj, &tapstat_group); >+ if (!err) >+ be->group_added = 1; >+ return err; > } > > void xentap_sysfs_delif(struct xenbus_device *dev) >@@ -174,7 +180,8 @@ static int blktap_remove(struct xenbus_d > tap_blkif_free(be->blkif); > be->blkif = NULL; > } >- xentap_sysfs_delif(be->dev); >+ if (be->group_added) >+ xentap_sysfs_delif(be->dev); > kfree(be); > dev->dev.driver_data = NULL; > return 0;
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 250104
:
293926
|
293927
|
293928
|
293929
|
293930
|
293931
|
293932
|
293933
|
293934
|
312441
|
312442
| 312443 |
312444
|
312445
|
312446
|
312447