aboutsummaryrefslogtreecommitdiff
path: root/block/rbd.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2018-07-04 16:47:51 +0200
committerKevin Wolf <kwolf@redhat.com>2018-07-05 11:07:58 +0200
commit7c20c808a5cbf5d244735bc78fc3138c739c1946 (patch)
tree1513d917b547e0337f2cbcabda5ab335fd53625e /block/rbd.c
parentd815efcaf01b1698e2fdf0f3e125201025c53191 (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 'block/rbd.c')
0 files changed, 0 insertions, 0 deletions