FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Device-mapper Development

 
 
LinkBack Thread Tools
 
Old 08-22-2008, 06:55 AM
Chandra Seetharaman
 
Default : scsi_dh: Print a warning message when ignoring arguments for hardwar handlers

Instead of silently ignoring the arguments specified along with the
hardware handler, print some warning message to inform the user that the
arguments are dropped.

Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
---

Index: linux-2.6.27-rc3/drivers/md/dm-mpath.c
================================================== =================
--- linux-2.6.27-rc3.orig/drivers/md/dm-mpath.c
+++ linux-2.6.27-rc3/drivers/md/dm-mpath.c
@@ -685,6 +685,10 @@ static int parse_hw_handler(struct arg_s
m->hw_handler_name = NULL;
return -EINVAL;
}
+
+ if (hw_argc > 1)
+ DMWARN("Ignoring arguments for hardware handler "%s"",
+ m->hw_handler_name);
consume(as, hw_argc - 1);

return 0;


--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 

Thread Tools




All times are GMT. The time now is 01:32 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org