aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Szeredi2012-04-12 12:57:08 +0200
committerMiklos Szeredi2012-04-12 12:57:08 +0200
commitc628ee67fb15a0d8d48351aa2e487c5f14779785 (patch)
tree378d9ab0ce3e0309c324606a9835e3fe9e48607f
parent0a2da9b2ef2ef76c09397597f260245b020e6522 (diff)
fuse: use flexible array in fuse.h
Use the ISO C standard compliant form instead of the gcc extension in the interface definition. Reported-by: Shachar Sharon <ssnail@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
-rw-r--r--include/linux/fuse.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fuse.h b/include/linux/fuse.h
index 8ba2c9460b28..8f2ab8fef929 100644
--- a/include/linux/fuse.h
+++ b/include/linux/fuse.h
@@ -593,7 +593,7 @@ struct fuse_dirent {
__u64 off;
__u32 namelen;
__u32 type;
- char name[0];
+ char name[];
};
#define FUSE_NAME_OFFSET offsetof(struct fuse_dirent, name)