[LTP] [PATCH] fs/growfiles.c: Fix the max size of every growing file

Petr Vorel pvorel@suse.cz
Tue Nov 27 13:40:00 CET 2018


Hi Xiao,

Reviewed-by: Petr Vorel <pvorel@suse.cz>

...
>  	unsigned long curr_size = 0;	/* BUG:14136 (keep track of file size) */
> -	const unsigned long ext2_limit = 2147483647;	/* BUG:14136 (2GB ext2 filesize limit) */
> +	unsigned long fs_limit = 2147483647; /* BUG:14136 (filesystem size limit is 2G by default) */
BTW I wonder if the "bug" is this one:
https://access.redhat.com/solutions/29129

doio code really needs cleanup.

Kind regards,
Petr


More information about the ltp mailing list