aboutsummaryrefslogtreecommitdiff
path: root/roms/openbios
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2017-06-13 22:21:01 +0200
committerMax Reitz <mreitz@redhat.com>2017-07-11 17:45:02 +0200
commit652fecd0058de7d90609c347bfdbeff76ef817a6 (patch)
tree1052709f7b40a9f71edbf733acdce1e223ac0342 /roms/openbios
parent7bc45dc17265772abe5dd1d4649c7bb42e1c6df1 (diff)
block/qcow2: Lock s->lock in preallocate()
preallocate() is and will be called only from places that do not otherwise need to lock s->lock: Currently that is qcow2_create2(), as of a future patch it will be called from qcow2_truncate(), too. It therefore makes sense to move locking that mutex into preallocate() itself. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: 20170613202107.10125-11-mreitz@redhat.com Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'roms/openbios')
0 files changed, 0 insertions, 0 deletions