]> git.ipfire.org Git - thirdparty/qemu.git/commit
9pfs: include linux/limits.h for XATTR_SIZE_MAX
authorDan Robertson <dan@dlrobertson.com>
Mon, 25 May 2020 08:38:03 +0000 (10:38 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 16 Jun 2020 22:21:38 +0000 (17:21 -0500)
commit0c6499ff2b1f9614195f31a24f1cf3888ce5d079
treede3ea786962ec584f8dfe7f384876af80af87051
parent17216bc04494825600b58ebb8a3a6fe0d8052125
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@dlrobertson.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: <20200515203015.7090-2-dan@dlrobertson.com>
Signed-off-by: Greg Kurz <groug@kaod.org>
(cherry picked from commit 03556ea920b23c466ce7c1283199033de33ee671)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/9pfs/9p.c