aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2015-08-10 17:58:40 -0700
committerSteve Kondik <steve@cyngn.com>2016-08-24 11:41:05 -0700
commit2374f90c1f8d0600941932a8863a93786166206a (patch)
tree16176c2917a0964a214af3ba0821b8f8d6a2404f /lib
parent5ddd5f8772f1127874348a7408401467890073db (diff)
downloadandroid_external_f2fs-tools-2374f90c1f8d0600941932a8863a93786166206a.tar.gz
android_external_f2fs-tools-2374f90c1f8d0600941932a8863a93786166206a.tar.bz2
android_external_f2fs-tools-2374f90c1f8d0600941932a8863a93786166206a.zip
mkfs.f2fs: don't need to limit MIN_VOLUME SIZE
The minimum volume size is determined while preparing superblock. Change-Id: I4d55d97a7016c86adf7736e17185fb5d2ca3307f Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/libf2fs.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/libf2fs.c b/lib/libf2fs.c
index 01f31e9..c42620b 100644
--- a/lib/libf2fs.c
+++ b/lib/libf2fs.c
@@ -548,13 +548,6 @@ int f2fs_get_device_info(struct f2fs_configuration *c)
MSG(0, "Info: sector size = %u\n", c->sector_size);
MSG(0, "Info: total sectors = %"PRIu64" (%"PRIu64" MB)\n",
c->total_sectors, c->total_sectors >> 11);
- if (c->total_sectors <
- (F2FS_MIN_VOLUME_SIZE / c->sector_size)) {
- MSG(0, "Error: Min volume size supported is %d\n",
- F2FS_MIN_VOLUME_SIZE);
- return -1;
- }
-
return 0;
}