Revert "mkfs.f2fs: 512 UTF-16 characters for label"

The mkfs.f2fs gets 512 characters, which will be recorded as UTF-16 characters.

This reverts commit fb5eef1d7e.
This commit is contained in:
Jaegeuk Kim 2015-04-03 10:49:34 -07:00
parent 1f65c1f61f
commit 97c08935f8

View File

@ -81,9 +81,9 @@ static void f2fs_parse_options(int argc, char *argv[])
config.extension_list = strdup(optarg);
break;
case 'l': /*v: volume label */
if (strlen(optarg) > 1024) {
if (strlen(optarg) > 512) {
MSG(0, "Error: Volume Label should be less than\
512 UTF-16 characters\n");
512 characters\n");
mkfs_usage();
}
config.vol_label = optarg;