aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2015-08-10 17:58:40 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2015-08-10 17:58:40 -0700
commit6f9c275125853d4195c4913b817ddc97510409c5 (patch)
tree15cdd9e41805ac5ffdb5710778b830e79312fb73 /lib
parent0d6d08e3f52b2253c1cbd8f2f4da837377cbbbe8 (diff)
downloadandroid_external_f2fs-tools-6f9c275125853d4195c4913b817ddc97510409c5.tar.gz
android_external_f2fs-tools-6f9c275125853d4195c4913b817ddc97510409c5.tar.bz2
android_external_f2fs-tools-6f9c275125853d4195c4913b817ddc97510409c5.zip
mkfs.f2fs: don't need to limit MIN_VOLUME SIZE
The minimum volume size is determined while preparing superblock. 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 e8f4d47..83d1296 100644
--- a/lib/libf2fs.c
+++ b/lib/libf2fs.c
@@ -499,13 +499,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;
}