diff options
author | Corey Bryant | 2012-10-18 22:41:04 +0200 |
---|---|---|
committer | Kevin Wolf | 2012-10-24 10:26:22 +0200 |
commit | 3b6eda2f57a5b7ed047077b6272c2b5a9e3531ca (patch) | |
tree | 89fbc3809331fa2c8c50c70a6b4589e25031437b /blockdev.c | |
parent | qemu-iotests: add testcases for mirroring on-source-error/on-target-error (diff) | |
download | qemu-3b6eda2f57a5b7ed047077b6272c2b5a9e3531ca.tar.gz qemu-3b6eda2f57a5b7ed047077b6272c2b5a9e3531ca.tar.xz qemu-3b6eda2f57a5b7ed047077b6272c2b5a9e3531ca.zip |
osdep: Less restrictive F_SEFL in qemu_dup_flags()
qemu_dup_flags() currently limits the flags that can be set on the
fcntl() F_SETFL call to those that we currently know can be set with
fcntl() F_SETFL. The problem with this is that it will prevent use
of new flags in the future without a code update.
This patch relaxes the checking and lets fcntl() determine the flags
it can set.
Signed-off-by: Corey Bryant <coreyb@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions