2017-04-28 13:47:25 +02:00
|
|
|
From be8989734d0f8f83659186495cca577e3844a310 Mon Sep 17 00:00:00 2001
|
2012-08-21 14:29:30 +02:00
|
|
|
From: Alexander Graf <agraf@suse.de>
|
|
|
|
Date: Tue, 21 Aug 2012 14:20:40 +0200
|
|
|
|
Subject: [PATCH] linux-user: XXX disable fiemap
|
|
|
|
|
|
|
|
agraf: fiemap breaks in libarchive. Disable it for now.
|
|
|
|
---
|
2014-01-17 23:04:30 +01:00
|
|
|
linux-user/syscall.c | 5 +++++
|
|
|
|
1 file changed, 5 insertions(+)
|
2012-08-21 14:29:30 +02:00
|
|
|
|
|
|
|
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
|
2017-05-05 17:05:43 +02:00
|
|
|
index 37b49bd406..983475a0b9 100644
|
2012-08-21 14:29:30 +02:00
|
|
|
--- a/linux-user/syscall.c
|
|
|
|
+++ b/linux-user/syscall.c
|
2017-03-29 06:22:10 +02:00
|
|
|
@@ -5076,6 +5076,11 @@ static abi_long do_ioctl_fs_ioc_fiemap(const IOCTLEntry *ie, uint8_t *buf_temp,
|
2012-08-21 14:29:30 +02:00
|
|
|
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++;
|