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 314161 Details for
Bug 438761
LTC:5.4:201049:DM-MP SCSI Hardware Handlers
[?]
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.
Do not allow arguments for SCSI DH Hardware Handlers
06-no-arguments-for-device-handlers (text/plain), 842 bytes, created by
IBM Bug Proxy
on 2008-08-13 00:51:38 UTC
(
hide
)
Description:
Do not allow arguments for SCSI DH Hardware Handlers
Filename:
MIME Type:
Creator:
IBM Bug Proxy
Created:
2008-08-13 00:51:38 UTC
Size:
842 bytes
patch
obsolete
>Do not entertain arguments for new SCSI DH hardware handlers. > >Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com> >----- >Index: linux-2.6.18.ppc64/drivers/md/dm-mpath.c >=================================================================== >--- linux-2.6.18.ppc64.orig/drivers/md/dm-mpath.c >+++ linux-2.6.18.ppc64/drivers/md/dm-mpath.c >@@ -689,8 +689,15 @@ static int parse_hw_handler(struct arg_s > > m->hw_handler_name = kstrdup(shift(as), GFP_KERNEL); > request_module("scsi_dh_%s", m->hw_handler_name); >- if (scsi_dh_handler_exist(m->hw_handler_name)) >+ if (scsi_dh_handler_exist(m->hw_handler_name)) { >+ if (hw_argc > 1) { >+ ti->error = "no arguments accepted for this hardware" >+ " handler"; >+ r = -EINVAL; >+ goto free_hw_handler_name; >+ } > goto done; >+ } > > hwht = dm_get_hw_handler(m->hw_handler_name); > if (!hwht) {
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 Raw
Actions:
View
Attachments on
bug 438761
:
314153
|
314154
|
314155
|
314156
|
314157
|
314158
|
314159
|
314160
| 314161 |
314162
|
314163
|
314339
|
314426
|
314828
|
314829
|
316641