libf2fs: limit the total size up to 16T
authorJunling Zheng <zhengjunling@huawei.com>
Tue, 23 Feb 2016 13:43:41 +0000 (21:43 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 24 Feb 2016 17:57:09 +0000 (09:57 -0800)
commitea34c1ce1487e72fd1ff2526a6f12449490170ff
tree7f3fcab2f30f02da4260a9ef194a28ebf3e9c89d
parentc00fe85bc7166c1c34420cf621e749c3d3e42f78
libf2fs: limit the total size up to 16T

F2FS can support 16T bytes at most. Limit the config.total_sectors
so that most parameters calculated according to it in sb/cp can be
limited correctly too.

Signed-off-by: Junling Zheng <zhengjunling@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
lib/libf2fs.c