From a095641495ca9260bdb80d18c8356f8e1f92531c Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Wed, 7 Mar 2012 19:51:15 +0000 Subject: [PATCH] Make LUN removal work again. This is a fix for r4137. Reported-by: Riccardo Signed-off-by: Bart Van Assche git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4157 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/scst_sysfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/scst/src/scst_sysfs.c b/scst/src/scst_sysfs.c index 73372126a..c99eb267f 100644 --- a/scst/src/scst_sysfs.c +++ b/scst/src/scst_sysfs.c @@ -1259,6 +1259,7 @@ static int __scst_process_luns_mgmt_store(char *buffer, break; } case SCST_LUN_ACTION_DEL: + p = scst_get_next_lexem(&pp); #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 39) res = kstrtoul(p, 0, &virt_lun); #else