Skip to content
Commit 46527f8d authored by Jin Qian's avatar Jin Qian Committed by Sasha Levin
Browse files

f2fs: sanity check segment count

[ Upstream commit b9dd4618

 ]

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>
Signed-off-by: default avatarSasha Levin <alexander.levin@verizon.com>
parent 2b674f4e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment