summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@quicinc.com>2017-09-04 06:37:55 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-09-04 06:37:54 -0700
commit2cce7b65df230973a73c59b977ef1809918d04dc (patch)
tree896bbb57a66bc3f22372629aab8a6ceaa06fa088
parentfd43ba03a8b109feb40a8ec7873d25697f1dd8aa (diff)
parent9124589f5c5a0e8c28a5f3cfe2bf3347e62710af (diff)
Merge "f2fs: Revert duplicate F2FS_MAX_SEGMENT"
-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