diff options
| author | Max Reitz <mreitz@redhat.com> | 2018-05-09 23:53:34 +0200 |
|---|---|---|
| committer | Max Reitz <mreitz@redhat.com> | 2018-06-11 16:18:45 +0200 |
| commit | d0a96155de099d388f5e1f46277a54bdcfbb0bb2 (patch) | |
| tree | 9d2be013663946318915959ceba0c8e427c7870e /scripts/qapi/doc.py | |
| parent | 9f55925b8f50a962d1d08d815044db7767ae3838 (diff) | |
| download | focaccia-qemu-d0a96155de099d388f5e1f46277a54bdcfbb0bb2.tar.gz focaccia-qemu-d0a96155de099d388f5e1f46277a54bdcfbb0bb2.zip | |
block/file-posix: Pass FD to locking helpers
raw_apply_lock_bytes() and raw_check_lock_bytes() currently take a BDRVRawState *, but they only use the lock_fd field. During image creation, we do not have a BDRVRawState, but we do have an FD; so if we want to reuse the functions there, we should modify them to receive only the FD. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Fam Zheng <famz@redhat.com> Message-id: 20180509215336.31304-2-mreitz@redhat.com Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'scripts/qapi/doc.py')
0 files changed, 0 insertions, 0 deletions