Searched hist:"04 f64b57" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/s390/block/ |
H A D | dcssblk.c | 04f64b57 Thu Aug 21 12:46:40 CDT 2008 Gerald Schaefer <gerald.schaefer@de.ibm.com> [S390] dcssblk: fix race in dcssblk_add_store()
Concurrently adding the same segment may lead to duplicate device_register() calls, which will trigger an error in kobject code: "... don't try to register things with the same name in the same directory". This patch adds a check to avoid this.
Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> 04f64b57 Thu Aug 21 12:46:40 CDT 2008 Gerald Schaefer <gerald.schaefer@de.ibm.com> [S390] dcssblk: fix race in dcssblk_add_store() Concurrently adding the same segment may lead to duplicate device_register() calls, which will trigger an error in kobject code: "... don't try to register things with the same name in the same directory". This patch adds a check to avoid this. Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
|