]> git.baikalelectronics.ru Git - kernel.git/commit
s390/dasd: Write to profile data area only if it is available
authorStefan Weinhuber <wein@de.ibm.com>
Fri, 25 Oct 2013 09:08:06 +0000 (11:08 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 28 Oct 2013 07:36:27 +0000 (08:36 +0100)
commitbd49f7c9d7d6921bc61183eba958d7bb1d145f64
treed326c6c4d9d89c1c0c5199a56a136c45dbadb5e7
parente15e4e7822c27e5a453ba4d407e1d60d800194fd
s390/dasd: Write to profile data area only if it is available

We check for the existence of block->profile.data before we write to
it, but the dependent code block misses braces.

Signed-off-by: Stefan Weinhuber <wein@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/dasd.c