On Sat, 5 Jun 2021 10:39:32 +0530, Ritesh Harjani wrote: > We should use unsigned long long rather than loff_t to avoid > overflow in ext4_max_bitmap_size() for comparison before returning. > w/o this patch sbi->s_bitmap_maxbytes was becoming a negative > value due to overflow of upper_limit (with has_huge_files as true) > > Below is a quick test to trigger it on a 64KB pagesize system. > > [...] Applied, thanks! [1/1] ext4: Fix loff_t overflow in ext4_max_bitmap_size() commit: f9b9e1afe996e8b4a0a2ea8481c41756fff53d08 Best regards, -- Theodore Ts'o <tytso@xxxxxxx>