diff options
author | Justin T. Gibbs <[email protected]> | 2015-04-02 02:09:20 +1100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-04-28 16:24:24 -0700 |
commit | 5aea3644d6aef3fe636053d6924bc0803fbd75b5 (patch) | |
tree | e19e3f8d0168d87614f5c0d22d61b2e5216cbd9f /include | |
parent | 8951cb8dfb8dcf410a237656c1f9c9767e4a9e6c (diff) |
Illumos 5038 - Remove "old-style" flexible array usage in ZFS.
5038 Remove "old-style" flexible array usage in ZFS.
Author: Justin T. Gibbs <[email protected]>
Reviewed by: Matthew Ahrens <[email protected]>
Reviewed by: Josef 'Jeff' Sipek <[email protected]>
Approved by: Richard Lowe <[email protected]>
References:
https://www.illumos.org/issues/5038
https://github.com/illumos/illumos-gate/commit/7f18da4
Ported-by: Chris Dunlop <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/dnode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/dnode.h b/include/sys/dnode.h index 8a72722eb..2974a20dc 100644 --- a/include/sys/dnode.h +++ b/include/sys/dnode.h @@ -267,7 +267,7 @@ typedef struct dnode_handle { typedef struct dnode_children { size_t dnc_count; /* number of children */ - dnode_handle_t dnc_children[1]; /* sized dynamically */ + dnode_handle_t dnc_children[]; /* sized dynamically */ } dnode_children_t; typedef struct free_range { |