clifuse: Use an empty array for holding the inode path
authorVolker Lendecke <vl@samba.org>
Tue, 22 Aug 2023 07:22:13 +0000 (09:22 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 25 Sep 2023 19:01:34 +0000 (19:01 +0000)
Cleaner these days.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
examples/fuse/clifuse.c

index 890dae163078484e4c7613936826c35ecb2f4102..9c1454fe57eec13d311b4c5cd2d45b96d5e9edfc 100644 (file)
@@ -54,7 +54,7 @@ struct mount_state {
 struct inode_state {
        struct idr_context *ino_ctx;
        fuse_ino_t ino;
-       char path[1];
+       char path[];
 };
 
 static int inode_state_destructor(struct inode_state *s);