aboutsummaryrefslogtreecommitdiff
path: root/io/channel-socket.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2019-06-12 17:03:38 +0200
committerKevin Wolf <kwolf@redhat.com>2020-09-07 12:31:31 +0200
commit93393e698c76c9b95b1fcf9649eef41f9cdbbb07 (patch)
tree4efe6b10f5caf6cfe4b75a15812aff8703e4df95 /io/channel-socket.c
parent4935e8be22745ff2b23bc87a5015176d991ce233 (diff)
downloadqemu-93393e698c76c9b95b1fcf9649eef41f9cdbbb07.zip
qemu-93393e698c76c9b95b1fcf9649eef41f9cdbbb07.tar.gz
qemu-93393e698c76c9b95b1fcf9649eef41f9cdbbb07.tar.bz2
block: Use bdrv_filter_(bs|child) where obvious
Places that use patterns like if (bs->drv->is_filter && bs->file) { ... something about bs->file->bs ... } should be BlockDriverState *filtered = bdrv_filter_bs(bs); if (filtered) { ... something about @filtered ... } instead. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'io/channel-socket.c')
0 files changed, 0 insertions, 0 deletions