qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/1] 9pfs: include linux/limits.h for XATTR_SIZE_MAX


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 1/1] 9pfs: include linux/limits.h for XATTR_SIZE_MAX
Date: Sat, 16 May 2020 07:22:44 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0

On 5/15/20 10:30 PM, Dan Robertson wrote:
linux/limits.h should be included for the XATTR_SIZE_MAX definition used

Maybe rewrite as <linux/limits.h> in subject & description (maintainer could do it for you).

by v9fs_xattrcreate.


Fixes: 3b79ef2cf48

Reviewed-by: Philippe Mathieu-Daudé <address@hidden>

Signed-off-by: Dan Robertson <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 a2a14b5979..68c2df7333 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;






reply via email to

[Prev in Thread] Current Thread [Next in Thread]