]> git.itanic.dy.fi Git - linux-stable/commit
udf: Avoid unneeded variable length array in struct fileIdentDesc
authorJan Kara <jack@suse.cz>
Tue, 3 Oct 2023 09:19:02 +0000 (11:19 +0200)
committerJan Kara <jack@suse.cz>
Tue, 3 Oct 2023 09:27:52 +0000 (11:27 +0200)
commitbceef326bc87781abb5139898d5f2807881194d9
tree354d3f836d9904cf52889de606a0230f8e792416
parentd1d3fcb324eceee7c4bf34b0ac89942ee16e3b74
udf: Avoid unneeded variable length array in struct fileIdentDesc

impUse variable length array in struct fileIdentDesc is never used.
It serves only for documentation purposes of the on-disk format. Remove
it from the struct so that it doesn't confuse the compiler and
reviewers.

Reported-by: "Gustavo A. R. Silva" <gustavoars@kernel.org>
References: https://lore.kernel.org/all/ZRrsYkKIQe8K6F/t@work
Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/ecma_167.h