summaryrefslogtreecommitdiff
path: root/arch/s390/mm
diff options
context:
space:
mode:
authorGerald Schaefer <gerald.schaefer@de.ibm.com>2008-08-21 17:46:40 (GMT)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2008-08-21 17:46:42 (GMT)
commit04f64b5756872b474d9429e3b6987ada10bb8012 (patch)
tree3a772f76a2fdbd6e570611202736b1f53b2e4c2d /arch/s390/mm
parent91c36919a456589f4f073671474a1f899e0d3c2b (diff)
downloadlinux-fsl-qoriq-04f64b5756872b474d9429e3b6987ada10bb8012.tar.xz
[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>
Diffstat (limited to 'arch/s390/mm')
0 files changed, 0 insertions, 0 deletions