summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
authorAnand V. Avati <avati@dev.gluster.com>2009-11-24 03:40:53 -0800
committerAnand V. Avati <avati@dev.gluster.com>2009-11-24 03:40:53 -0800
commit5b483cb62f00faa66e8795e24856600b961c8d4a (patch)
tree9fba4c18138cde8233cf6a45948129f3434ddf87 /libglusterfs
parent40dfc3e78b590af907caa8a4461730284648034c (diff)
Revert "libglusterfs/src/gf-dirent.c: In gf_dirent_nb structure d_name should be char array of size 1."
This reverts commit e151ab3ed4718606767146f18b416f8900552fbc.
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/gf-dirent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/gf-dirent.c b/libglusterfs/src/gf-dirent.c
index 35a81bb8a..cd31464ff 100644
--- a/libglusterfs/src/gf-dirent.c
+++ b/libglusterfs/src/gf-dirent.c
@@ -39,7 +39,7 @@ struct gf_dirent_nb {
uint32_t d_len;
uint32_t d_type;
struct gf_stat d_stat;
- char d_name[1];
+ char d_name[0];
} __attribute__((packed));