On Tue, Jun 12, 2018 at 11:53:19AM +0200, Jan Kara wrote: > If blocks count is exactly 1<<32, then the code computing number of > inode count in ext2fs_initialize() will overflow and set number of > inodes to 0 (which will be later fixed up to EXT2_FIRST_INODE(super)+1). > Fix the off-by-one bug in the check. > > Reviewed-by: Andreas Dilger <adilger@xxxxxxxxx> > Signed-off-by: Jan Kara <jack@xxxxxxx> Applied, thanks. - Ted