projects
/
platform
/
upstream
/
f2fs-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f65c1f
)
Revert "mkfs.f2fs: 512 UTF-16 characters for label"
author
Jaegeuk Kim
<jaegeuk@kernel.org>
Fri, 3 Apr 2015 17:49:34 +0000
(10:49 -0700)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Fri, 3 Apr 2015 22:59:31 +0000
(15:59 -0700)
The mkfs.f2fs gets 512 characters, which will be recorded as UTF-16 characters.
This reverts commit
fb5eef1d7e4060d9c5a913514c49b260c29d3ed2
.
mkfs/f2fs_format_main.c
patch
|
blob
|
history
diff --git
a/mkfs/f2fs_format_main.c
b/mkfs/f2fs_format_main.c
index
43e5c03
..
9a96798
100644
(file)
--- a/
mkfs/f2fs_format_main.c
+++ b/
mkfs/f2fs_format_main.c
@@
-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;