projects
/
platform
/
upstream
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a8dbc0
)
linux-user: XXX disable fiemap
author
Alexander Graf
<agraf@suse.de>
Tue, 21 Aug 2012 12:20:40 +0000
(14:20 +0200)
committer
Chanho Park
<parkch98@gmail.com>
Tue, 9 Sep 2014 02:32:51 +0000
(11:32 +0900)
agraf: fiemap breaks in libarchive. Disable it for now.
linux-user/syscall.c
patch
|
blob
|
history
diff --git
a/linux-user/syscall.c
b/linux-user/syscall.c
index
ce1054c
..
f00b082
100644
(file)
--- a/
linux-user/syscall.c
+++ b/
linux-user/syscall.c
@@
-3272,6
+3272,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++;