summaryrefslogtreecommitdiffstats
path: root/Documentation/process/volatile-considered-harmful.rst
diff options
context:
space:
mode:
authorStefan Haberland <sth@linux.vnet.ibm.com>2017-01-25 16:56:41 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-01-31 10:47:25 +0100
commitca732e111ff7017e79a0cbb8aa0636c6ce48eb7d (patch)
tree7097bbd9bf7f90edefde0fed88ffdb8bcd582618 /Documentation/process/volatile-considered-harmful.rst
parents390/dasd: check for device error pointer within state change interrupts (diff)
downloadlinux-ca732e111ff7017e79a0cbb8aa0636c6ce48eb7d.tar.xz
linux-ca732e111ff7017e79a0cbb8aa0636c6ce48eb7d.zip
s390/dasd: check blockdevice pointer before trying to sync blockdevice
If safe offline is called for a DASD alias device a null pointer is passed to fsync_bdev. So check for existence of the blockdevice before calling fsync_bdev. Should not be a real world problem since safe offline for an alias device does not make sense and fsync_bdev can deal with a NULL pointer which it gets after successful NULL pointer dereferencing on s390. Signed-off-by: Stefan Haberland <sth@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'Documentation/process/volatile-considered-harmful.rst')
0 files changed, 0 insertions, 0 deletions