From: Jaegeuk Kim <jaegeuk@kernel.org>
To: linux-f2fs-devel@lists.sourceforge.net
Cc: Jaegeuk Kim <jaegeuk@kernel.org>
Subject: [PATCH] Revert "mkfs.f2fs: 512 UTF-16 characters for label"
Date: Fri, 3 Apr 2015 16:00:37 -0700 [thread overview]
Message-ID: <1428102037-26583-1-git-send-email-jaegeuk@kernel.org> (raw)
The mkfs.f2fs gets 512 characters, which will be recorded as UTF-16 characters.
This reverts commit fb5eef1d7e4060d9c5a913514c49b260c29d3ed2.
---
mkfs/f2fs_format_main.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mkfs/f2fs_format_main.c b/mkfs/f2fs_format_main.c
index 43e5c03..9a96798 100644
--- 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;
--
2.1.1
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
reply other threads:[~2015-04-03 23:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1428102037-26583-1-git-send-email-jaegeuk@kernel.org \
--to=jaegeuk@kernel.org \
--cc=linux-f2fs-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).