diff options
author | Max Reitz <mreitz@redhat.com> | 2018-07-04 16:47:51 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2018-07-05 11:07:58 +0200 |
commit | 7c20c808a5cbf5d244735bc78fc3138c739c1946 (patch) | |
tree | 1513d917b547e0337f2cbcabda5ab335fd53625e /include/block | |
parent | d815efcaf01b1698e2fdf0f3e125201025c53191 (diff) |
file-posix: Unlock FD after creation
Closing the FD does not necessarily mean that it is unlocked. Fix this
by relinquishing all permission locks before qemu_close().
Reported-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/block')
0 files changed, 0 insertions, 0 deletions