diff options
author | Max Reitz <mreitz@redhat.com> | 2019-05-22 19:03:45 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2019-06-18 16:41:10 +0200 |
commit | 094e36394481fd2c8493cec2a7c026f342232f15 (patch) | |
tree | 8fcf57cf3571ecfaef0858757707fcd25e4a8123 /bt-vhci.c | |
parent | b23c580c946644b906af36e3f903b9fedd6ccd61 (diff) | |
download | qemu-094e36394481fd2c8493cec2a7c026f342232f15.zip qemu-094e36394481fd2c8493cec2a7c026f342232f15.tar.gz qemu-094e36394481fd2c8493cec2a7c026f342232f15.tar.bz2 |
file-posix: Update open_flags in raw_set_perm()
raw_check_perm() + raw_set_perm() can change the flags associated with
the current FD. If so, we have to update BDRVRawState.open_flags
accordingly. Otherwise, we may keep reopening the FD even though the
current one already has the correct flags.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'bt-vhci.c')
0 files changed, 0 insertions, 0 deletions