summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2012-08-21 14:20:40 +0200
committerhyokeun <hyokeun.jeon@samsung.com>2016-09-06 15:55:33 +0900
commit854aae23fee415e58bc73e2d87bef2b6fc9e579b (patch)
tree0d6a7d42c0d9eb6870780a50d32238c4fa70c2bb
parent12e044ebe52e91163b225b03e20827df5f84fd3b (diff)
downloadqemu-854aae23fee415e58bc73e2d87bef2b6fc9e579b.tar.gz
qemu-854aae23fee415e58bc73e2d87bef2b6fc9e579b.tar.bz2
qemu-854aae23fee415e58bc73e2d87bef2b6fc9e579b.zip
linux-user: XXX disable fiemap
agraf: fiemap breaks in libarchive. Disable it for now.
-rw-r--r--linux-user/syscall.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 4020ceb24..483efb083 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -4806,6 +4806,11 @@ static abi_long do_ioctl_fs_ioc_fiemap(const IOCTLEntry *ie, uint8_t *buf_temp,
uint32_t outbufsz;
int free_fm = 0;
+ if (1) {
+ /* XXX agraf: fiemap breaks for me */
+ return -TARGET_EINVAL;
+ }
+
assert(arg_type[0] == TYPE_PTR);
assert(ie->access == IOC_RW);
arg_type++;