diff options
author | Corey Bryant <coreyb@linux.vnet.ibm.com> | 2012-10-18 16:41:04 -0400 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-10-24 10:26:22 +0200 |
commit | 3b6eda2f57a5b7ed047077b6272c2b5a9e3531ca (patch) | |
tree | 89fbc3809331fa2c8c50c70a6b4589e25031437b /block.h | |
parent | 9dfa9f593045d70572ebfd94f59cd33ec99e847c (diff) | |
download | qemu-3b6eda2f57a5b7ed047077b6272c2b5a9e3531ca.zip qemu-3b6eda2f57a5b7ed047077b6272c2b5a9e3531ca.tar.gz qemu-3b6eda2f57a5b7ed047077b6272c2b5a9e3531ca.tar.bz2 |
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 'block.h')
0 files changed, 0 insertions, 0 deletions