affs: Replace one-element array with flexible-array member
authorThorsten Blum <thorsten.blum@toblux.com>
Tue, 27 Aug 2024 12:48:40 +0000 (14:48 +0200)
committerDavid Sterba <dsterba@suse.com>
Fri, 6 Sep 2024 15:48:15 +0000 (17:48 +0200)
commitbf751ad062b58d0750a5b9fb77d1400532a0ea44
treead85ad1ee996eea13e763a27c6de9655cc76fbd6
parent112bcd25980e0568e5154837c03b534afb31cc39
affs: Replace one-element array with flexible-array member

Replace the deprecated one-element array with a modern flexible-array
member in the struct affs_root_head.

Add a comment that most struct members are not used, but kept as
documentation.

Link: https://github.com/KSPP/linux/issues/79
Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/affs/amigaffs.h