aboutsummaryrefslogtreecommitdiff
path: root/hw/9pfs
diff options
context:
space:
mode:
authorGreg Kurz <groug@kaod.org>2018-01-08 11:18:22 +0100
committerGreg Kurz <groug@kaod.org>2018-01-08 11:18:22 +0100
commit01847522bc1165438d933092d9482dd917342662 (patch)
tree59c3f16c7b30ecc0ef30e51ba2708bf9db5df85b /hw/9pfs
parentbd3be4dbbf0491d6db8bf326706747b4629ace4b (diff)
downloadqemu-01847522bc1165438d933092d9482dd917342662.zip
qemu-01847522bc1165438d933092d9482dd917342662.tar.gz
qemu-01847522bc1165438d933092d9482dd917342662.tar.bz2
9pfs: fix XattrOperations typedef
To comply with the QEMU coding style. Signed-off-by: Greg Kurz <groug@kaod.org>
Diffstat (limited to 'hw/9pfs')
-rw-r--r--hw/9pfs/9p-xattr.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/hw/9pfs/9p-xattr.h b/hw/9pfs/9p-xattr.h
index 0d83996..35bcd24 100644
--- a/hw/9pfs/9p-xattr.h
+++ b/hw/9pfs/9p-xattr.h
@@ -16,8 +16,7 @@
#include "qemu/xattr.h"
-typedef struct xattr_operations
-{
+struct XattrOperations {
const char *name;
ssize_t (*getxattr)(FsContext *ctx, const char *path,
const char *name, void *value, size_t size);
@@ -27,7 +26,7 @@ typedef struct xattr_operations
void *value, size_t size, int flags);
int (*removexattr)(FsContext *ctx,
const char *path, const char *name);
-} XattrOperations;
+};
ssize_t local_getxattr_nofollow(FsContext *ctx, const char *path,
const char *name, void *value, size_t size);