Skip to content
Snippets Groups Projects
Commit 1941645a authored by Jin Qian's avatar Jin Qian Committed by Steve Pfetsch
Browse files

BACKPORT: f2fs: sanity check segment count


commit b9dd46188edc2f0d1f37328637860bb65a771124 upstream.

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.

Conflicts:
	fs/f2fs/super.c

Signed-off-by: default avatarJin Qian <jinqian@google.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarSiqi Lin <siqilin@google.com>
Bug: 36815012
Change-Id: I30ea36df066bc07e32e767336b7cae12063fe415
parent 41c47c76
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment