mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 11:11:27 +00:00
scst: Fix sysfs code for parsing parameters when adding or replacing a LUN
Signed-off-by: Bart Van Assche <bvanassche@acm.org> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4394 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1155,12 +1155,11 @@ static int __scst_process_luns_mgmt_store(char *buffer,
|
||||
goto out_unlock;
|
||||
}
|
||||
|
||||
e = scst_get_next_lexem(&pp);
|
||||
|
||||
while (1) {
|
||||
char *pp;
|
||||
unsigned long val;
|
||||
char *param = scst_get_next_token_str(&e);
|
||||
char *param = scst_get_next_token_str(&pp);
|
||||
char *pp;
|
||||
|
||||
if (param == NULL)
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user