Whamcloud - gitweb
LU-13197 e2fsck: fix overflow if more than 4B inodes 40/37440/6
authorAndreas Dilger <adilger@whamcloud.com>
Wed, 5 Feb 2020 03:59:39 +0000 (20:59 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Sun, 24 May 2020 16:05:34 +0000 (16:05 +0000)
commit9450cab0c2398871f026afcb56a3eab02ed78b40
treef037cf03b9c02800b8bca17cd7e520b7f0f79534
parentbd3c5a11044c9427066a0b2a3122787a269ddeb0
LU-13197 e2fsck: fix overflow if more than 4B inodes

Even though we don't have support for filesystems with over 4B inodes
in the current e2fsprogs, this may happen in the future.  There are
latent overflow bugs when calculating the number of inodes in the
filesystem that may as well be fixed now, rather than waiting for it
to be hit in the field at some point.

Signed-off-by: Andreas Dilger <adilger@dilger.ca>
Change-Id: I336ca04fe8f944dbfbe5425ce84e7d92743ebbe5
Reviewed-on: https://review.whamcloud.com/37440
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Wang Shilong <wshilong@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
e2fsck/pass5.c
lib/ext2fs/bitmaps.c
lib/ext2fs/imager.c
misc/fuse2fs.c