From 9124589f5c5a0e8c28a5f3cfe2bf3347e62710af Mon Sep 17 00:00:00 2001 From: Dennis Cagle Date: Fri, 1 Sep 2017 17:39:05 -0700 Subject: f2fs: Revert duplicate F2FS_MAX_SEGMENT This reverts commit e4f60027026c ("f2fs: sanity check segment count"). This change was already present and the new commit added a redundant declaration for F2FS_MAX_SEGMENT. Change-Id: Ie9a1d2b255fb20fcf2d4237e661430a39d8626ef Signed-off-by: Dennis Cagle --- include/linux/f2fs_fs.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'include/linux') diff --git a/include/linux/f2fs_fs.h b/include/linux/f2fs_fs.h index 005d5c3e200e..3d6e6ce44c5c 100644 --- a/include/linux/f2fs_fs.h +++ b/include/linux/f2fs_fs.h @@ -289,12 +289,6 @@ struct f2fs_nat_block { */ #define F2FS_MAX_SEGMENT ((16 * 1024 * 1024) / 2) -/* - * F2FS uses 4 bytes to represent block address. As a result, supported size of - * disk is 16 TB and it equals to 16 * 1024 * 1024 / 2 segments. - */ -#define F2FS_MAX_SEGMENT ((16 * 1024 * 1024) / 2) - /* * Note that f2fs_sit_entry->vblocks has the following bit-field information. * [15:10] : allocation type such as CURSEG_XXXX_TYPE -- cgit v1.2.3