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)
commitc81a90c853f183a8946af77ed9272ac61d78c077
treed326c6c4d9d89c1c0c5199a56a136c45dbadb5e7
parent302bfe20ade2a7d6d02632ae8a775a68f651c0be
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