Skip to content
Commit f7ab472d authored by Jin Qian's avatar Jin Qian Committed by Gerrit - the friendly Code Review server
Browse files

f2fs: sanity check segment count



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.

Signed-off-by: default avatarJin Qian <jinqian@google.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git


Git-commit: b9dd46188edc2f0d1f37328637860bb65a771124
[srkupp@codeaurora.org: Resolved minor conflict]
Signed-off-by: default avatarSrinivasa Rao Kuppala <srkupp@codeaurora.org>
Change-Id: Id1a67927262451762a4d423fa50b370ec3cdb56c
parent 02eae2fb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment