summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2012-08-21 12:20:40 (GMT)
committerYury Usishchev <y.usishchev@samsung.com>2014-12-10 10:48:36 (GMT)
commitffe97351b35bc25f2c00c8d97b888b34be3d20bd (patch)
tree1f977a42b8f3527f201828f71a97d6116d2816e1
parentf1284f00208710598b2c640bed8d519c8da61c8b (diff)
downloadqemu-ffe97351b35bc25f2c00c8d97b888b34be3d20bd.zip
qemu-ffe97351b35bc25f2c00c8d97b888b34be3d20bd.tar.gz
qemu-ffe97351b35bc25f2c00c8d97b888b34be3d20bd.tar.bz2
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 de930eb..199084f 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -3318,6 +3318,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++;