summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Cagle <dcagle@codeaurora.org>2017-09-01 17:39:05 -0700
committerDennis Cagle <dcagle@codeaurora.org>2017-09-01 17:39:05 -0700
commit9124589f5c5a0e8c28a5f3cfe2bf3347e62710af (patch)
tree71da68527d68c20e24e9060d3537e3b6ca967bc3
parente4f60027026c438d21b1db83d69e0dd2d92c6e56 (diff)
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 <dcagle@codeaurora.org>
-rw-r--r--include/linux/f2fs_fs.h6
1 files changed, 0 insertions, 6 deletions
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
@@ -290,12 +290,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
* [9:0] : valid block count