Skip to content
Snippets Groups Projects
Commit 03556ea9 authored by Dan Robertson's avatar Dan Robertson Committed by Greg Kurz
Browse files

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: default avatarDan Robertson <dan@dlrobertson.com>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: default avatarChristian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: <20200515203015.7090-2-dan@dlrobertson.com>
Signed-off-by: default avatarGreg Kurz <groug@kaod.org>
parent fea8f3ed
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment