projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
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
|
blame
|
history
diff --git
a/include/linux/fuse.h
b/include/linux/fuse.h
index 8ba2c9460b28fb90bfee024aa8f73601f6c4cf68..8f2ab8fef929f42b81f3d9a75c564b42455dc06e 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)