This is for portability to non-GCC C89 and C99 compilers.
Original problem, on NonStop, reported by Joachim Schmitz in
<http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9077>.
uint32_t fm_reserved;
- /* Array of mapped extents(out). */
- struct fiemap_extent fm_extents[0];
+ /* Array of mapped extents(out).
+ The actual size is given by fm_extent_count. */
+ struct fiemap_extent fm_extents[1];
};
/* The maximum offset can be mapped for a file. */