[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 1/5] 9pfs: include linux/limits.h for XATTR_SIZE_MAX
From: |
Greg Kurz |
Subject: |
[PULL 1/5] 9pfs: include linux/limits.h for XATTR_SIZE_MAX |
Date: |
Tue, 26 May 2020 13:49:28 +0200 |
From: Dan Robertson <address@hidden>
linux/limits.h should be included for the XATTR_SIZE_MAX definition used
by v9fs_xattrcreate.
Fixes: 3b79ef2cf488 ("9pfs: limit xattr size in xattrcreate")
Signed-off-by: Dan Robertson <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Christian Schoenebeck <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Greg Kurz <address@hidden>
---
hw/9pfs/9p.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/9pfs/9p.c b/hw/9pfs/9p.c
index a2a14b59793c..68c2df7333f9 100644
--- a/hw/9pfs/9p.c
+++ b/hw/9pfs/9p.c
@@ -28,6 +28,7 @@
#include "sysemu/qtest.h"
#include "qemu/xxhash.h"
#include <math.h>
+#include <linux/limits.h>
int open_fd_hw;
int total_open_fd;
--
2.21.3
- [PULL 0/5] 9p patches 2020-05-26, Greg Kurz, 2020/05/26
- [PULL 1/5] 9pfs: include linux/limits.h for XATTR_SIZE_MAX,
Greg Kurz <=
- [PULL 2/5] 9p: Lock directory streams with a CoMutex, Greg Kurz, 2020/05/26
- [PULL 3/5] Revert "9p: init_in_iov_from_pdu can truncate the size", Greg Kurz, 2020/05/26
- [PULL 4/5] xen/9pfs: yield when there isn't enough room on the ring, Greg Kurz, 2020/05/26
- [PULL 5/5] xen/9pfs: increase max ring order to 9, Greg Kurz, 2020/05/26
- Re: [PULL 0/5] 9p patches 2020-05-26, Peter Maydell, 2020/05/26