提交 0c6499ff 编写于 作者: D Dan Robertson 提交者: Michael Roth

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: 3b79ef2c ("9pfs: limit xattr size in xattrcreate")
Signed-off-by: NDan Robertson <dan@dlrobertson.com>
Reviewed-by: NPhilippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: NChristian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: <20200515203015.7090-2-dan@dlrobertson.com>
Signed-off-by: NGreg Kurz <groug@kaod.org>
(cherry picked from commit 03556ea9)
Signed-off-by: NMichael Roth <mdroth@linux.vnet.ibm.com>
上级 17216bc0
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册