From: Dan Robertson Date: Mon, 25 May 2020 08:38:03 +0000 (+0200) Subject: 9pfs: include linux/limits.h for XATTR_SIZE_MAX X-Git-Tag: v4.2.1~72 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0c6499ff2b1f9614195f31a24f1cf3888ce5d079;p=thirdparty%2Fqemu.git 9pfs: include linux/limits.h for XATTR_SIZE_MAX 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 Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Christian Schoenebeck Message-Id: <20200515203015.7090-2-dan@dlrobertson.com> Signed-off-by: Greg Kurz (cherry picked from commit 03556ea920b23c466ce7c1283199033de33ee671) Signed-off-by: Michael Roth --- diff --git a/hw/9pfs/9p.c b/hw/9pfs/9p.c index 520177f40c1..37e43d3f853 100644 --- a/hw/9pfs/9p.c +++ b/hw/9pfs/9p.c @@ -28,6 +28,7 @@ #include "sysemu/qtest.h" #include "qemu/xxhash.h" #include +#include int open_fd_hw; int total_open_fd;