diff options
author | Alexander Graf <agraf@suse.de> | 2012-08-21 14:20:40 +0200 |
---|---|---|
committer | Yury Usishchev <y.usishchev@samsung.com> | 2014-12-10 13:48:36 +0300 |
commit | ffe97351b35bc25f2c00c8d97b888b34be3d20bd (patch) | |
tree | 1f977a42b8f3527f201828f71a97d6116d2816e1 | |
parent | f1284f00208710598b2c640bed8d519c8da61c8b (diff) | |
download | qemu-ffe97351b35bc25f2c00c8d97b888b34be3d20bd.tar.gz qemu-ffe97351b35bc25f2c00c8d97b888b34be3d20bd.tar.bz2 qemu-ffe97351b35bc25f2c00c8d97b888b34be3d20bd.zip |
linux-user: XXX disable fiemap
agraf: fiemap breaks in libarchive. Disable it for now.
-rw-r--r-- | linux-user/syscall.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index de930eb9d..199084ff0 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++; |