Skip to content
Commit a9cee176 authored by Kyle Spiers's avatar Kyle Spiers Committed by Jan Kara
Browse files

reiserfs: Remove VLA from fs/reiserfs/reiserfs.h



Remove Variable Length Array from fs/reiserfs/reiserfs.h. EMPTY_DIR_SIZE
is used as an array size and as it is using strlen() it need not be
evaluated at compile time. Change it's definition to use sizeof() to
force evaluation of array length at compile time.

Signed-off-by: default avatarKyle Spiers <kyle@spiers.me>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 785dffe1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment