mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 12:41:26 +00:00
Make LUN removal work again. This is a fix for r4137.
Reported-by: Riccardo <r.bicelli@gmail.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4157 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user