projects
/
linux-flexiantxendom0-3.2.10.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a2da9b
)
fuse: use flexible array in fuse.h
author
Miklos Szeredi <mszeredi@suse.cz>
Thu, 12 Apr 2012 10:57:08 +0000
(12:57 +0200)
committer
Miklos Szeredi <mszeredi@suse.cz>
Thu, 12 Apr 2012 10:57:08 +0000
(12:57 +0200)
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>
include/linux/fuse.h
patch
|
blob
|
history
diff --git
a/include/linux/fuse.h
b/include/linux/fuse.h
index
8ba2c94
..
8f2ab8f
100644
(file)
--- 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)