mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git
synced 2024-11-23 17:53:39 +08:00
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:
parent
1f65c1f61f
commit
97c08935f8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user