diff options
author | 2017-05-11 10:27:35 -0500 | |
---|---|---|
committer | 2017-05-15 17:14:28 -0400 | |
commit | 2d4456c73a487abe53863e10641c2f73537edf5c (patch) | |
tree | 93b18adce07e85693f4e86c45ff353e6bcd4ab1b /drivers/block/xen-blkback/common.h | |
parent | blkfront: add uevent for size change (diff) | |
download | linux-2d4456c73a487abe53863e10641c2f73537edf5c.tar.gz linux-2d4456c73a487abe53863e10641c2f73537edf5c.tar.bz2 linux-2d4456c73a487abe53863e10641c2f73537edf5c.zip |
block: xen-blkback: add null check to avoid null pointer dereference
Add null check before calling xen_blkif_put() to avoid potential
null pointer dereference.
Addresses-Coverity-ID: 1350942
Cc: Juergen Gross <jgross@suse.com>
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/block/xen-blkback/common.h')
0 files changed, 0 insertions, 0 deletions