]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add check to avoid raw inode iblocks fields overflow in case of huge_file feature.
authorFedor Uporov <fsu@FreeBSD.org>
Wed, 27 Sep 2017 16:12:13 +0000 (16:12 +0000)
committerFedor Uporov <fsu@FreeBSD.org>
Wed, 27 Sep 2017 16:12:13 +0000 (16:12 +0000)
commit72530f91cfc5857675a57721b434ac127f1e3c91
tree69a38d8df37a7684e8dbb88ed8b15a936f344075
parent0e492f2faa31fdafd857791594af00f42ad8572b
Add check to avoid raw inode iblocks fields overflow in case of huge_file feature.
Use the Linux logic for now.

Reviewed by:    pfg (mentor)
Approved by:    pfg (mentor)
MFC after:      2 weeks
Differential Revision: https://reviews.freebsd.org/D12131
sys/fs/ext2fs/ext2_alloc.c
sys/fs/ext2fs/ext2_extern.h
sys/fs/ext2fs/ext2_inode.c
sys/fs/ext2fs/ext2_inode_cnv.c