diff options
author | Corey Bryant <coreyb@linux.vnet.ibm.com> | 2012-08-14 16:43:46 -0400 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-08-15 10:48:57 +0200 |
commit | 2e1e79dae7a7e0a3d698fbd359d75e3a0239bdaa (patch) | |
tree | a811ed28427ba314c33b17d739d9093e3ecd0b1c /osdep.c | |
parent | 6165f4d85d92e15b6aebdeeb2559dc687b0353c7 (diff) | |
download | qemu-2e1e79dae7a7e0a3d698fbd359d75e3a0239bdaa.tar.gz qemu-2e1e79dae7a7e0a3d698fbd359d75e3a0239bdaa.tar.bz2 qemu-2e1e79dae7a7e0a3d698fbd359d75e3a0239bdaa.zip |
block: Convert close calls to qemu_close
This patch converts all block layer close calls, that correspond
to qemu_open calls, to qemu_close.
Signed-off-by: Corey Bryant <coreyb@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'osdep.c')
-rw-r--r-- | osdep.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -107,6 +107,11 @@ int qemu_open(const char *name, int flags, ...) return ret; } +int qemu_close(int fd) +{ + return close(fd); +} + /* * A variant of write(2) which handles partial write. * |