[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [qemu-xen staging-4.14] 9pfs: include linux/limits.h for XATTR_SIZE_MAX
commit 5bfdf41d7c12335fd44645cdfa2eb04eb0d15b5b Author: Dan Robertson <dan@xxxxxxxxxxxxxxx> AuthorDate: Mon May 25 10:38:03 2020 +0200 Commit: Michael Roth <mdroth@xxxxxxxxxxxxxxxxxx> CommitDate: Mon Aug 24 18:56:38 2020 -0500 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 <dan@xxxxxxxxxxxxxxx> Reviewed-by: Philippe Mathieu-Daudé <philmd@xxxxxxxxxx> Reviewed-by: Christian Schoenebeck <qemu_oss@xxxxxxxxxxxxx> Message-Id: <20200515203015.7090-2-dan@xxxxxxxxxxxxxxx> Signed-off-by: Greg Kurz <groug@xxxxxxxx> (cherry picked from commit 03556ea920b23c466ce7c1283199033de33ee671) Signed-off-by: Michael Roth <mdroth@xxxxxxxxxxxxxxxxxx> --- hw/9pfs/9p.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/9pfs/9p.c b/hw/9pfs/9p.c index 9e046f7acb..3301e82eb6 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; -- generated by git-patchbot for /home/xen/git/qemu-xen.git#staging-4.14
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |