mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
Illumos 5038 - Remove "old-style" flexible array usage in ZFS.
5038 Remove "old-style" flexible array usage in ZFS. Author: Justin T. Gibbs <justing@spectralogic.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Approved by: Richard Lowe <richlowe@richlowe.net> References: https://www.illumos.org/issues/5038 https://github.com/illumos/illumos-gate/commit/7f18da4 Ported-by: Chris Dunlop <chris@onthe.net.au> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
committed by
Brian Behlendorf
parent
8951cb8dfb
commit
5aea3644d6
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user