Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9124589f authored by Dennis Cagle's avatar Dennis Cagle
Browse files

f2fs: Revert duplicate F2FS_MAX_SEGMENT



This reverts commit e4f60027 ("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: default avatarDennis Cagle <dcagle@codeaurora.org>
parent e4f60027
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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