summaryrefslogtreecommitdiffstats
path: root/fsdev/9p-marshal.h
Commit message (Collapse)AuthorAgeFilesLines
* fsdev: open brace '{' following struct go on the same linezhouyang2020-12-131-8/+4Star
| | | | | | | | | | | I found some style problems while check the code using checkpatch.pl. This commit fixs the issue below: ERROR: open brace '{' following struct go on the same line Signed-off-by: zhouyang <zhouyang789@huawei.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20201209060735.2760943-1-zhouyang789@huawei.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
* 9p: unsigned type for type, version, pathAntonios Motakis2019-10-101-3/+3
| | | | | | | | | | | There is no need for signedness on these QID fields for 9p. Signed-off-by: Antonios Motakis <antonios.motakis@huawei.com> [CS: - Also make QID type unsigned. - Adjust donttouch_stat() to new types. - Adjust trace-events to new types. ] Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com> Signed-off-by: Greg Kurz <groug@kaod.org>
* 9pfs: fsdev: drop useless extern annotation for functionsGreg Kurz2016-10-171-3/+3
| | | | Signed-off-by: Greg Kurz <groug@kaod.org>
* 9pfs: drop useless v9fs_string_null() functionGreg Kurz2016-09-161-1/+0Star
| | | | | | | | | | | The v9fs_string_null() function just calls v9fs_string_free(). Also it only has 4 users, whereas v9fs_string_free() has 87. This patch converts users to call directly v9fs_string_free() and drops the useless function. Signed-off-by: Greg Kurz <groug@kaod.org> Reviewed-by: Cédric Le Goater <clg@kaod.org>
* Clean up ill-advised or unusual header guardsMarkus Armbruster2016-07-121-2/+2
| | | | | | | Cleaned up with scripts/clean-header-guards.pl. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Richard Henderson <rth@twiddle.net>
* fsdev: break out 9p-marshal.{c,h} from virtio-9p-marshal.{c,h}Wei Liu2016-01-081-0/+84
Break out some generic functions for marshaling 9p state. Pure code motion plus minor fixes for build system. Signed-off-by: Wei Liu <wei.liu2@citrix.com> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>