Skip to contentSkip to conversation

nilfs2-utils: fix volume label size in mkfs

PATCH In review Jiro SEKIBA 2 participants 2 messages Aug 6, 2010 1 message not in the archive NILFS2 filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nilfs2-utils: fix volume label size in mkfs

mkfs has own option struct, in which volume label is defined. This patch enlarges volume label of mkfs to 80 from 16.

volume label has been extend to 80 from 16 by commit 337eeb61e5edbb77dee10650c8aac9d88249716a in linux-2.6.

---
 sbin/mkfs/mkfs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sbin/mkfs/mkfs.c +1 -1
index e135059..2d04c59 100644
@@ -112,7 +112,7 @@ struct mkfs_options {
 	long r_segments_percentage;
 	int quiet, cflag, nflag;
 	time_t ctime;
-	char volume_label[16];
+	char volume_label[80];
 };
 
 extern char *optarg;
Signature · 6 lines
1.5.6.5

--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
In reply to a message not in the archive
Quoted 8 lines · Jiro SEKIBA

mkfs has own option struct, in which volume label is defined. This patch enlarges volume label of mkfs to 80 from 16.

volume label has been extend to 80 from 16 by commit 337eeb61e5edbb77dee10650c8aac9d88249716a in linux-2.6.

Ahh, I got it. Will apply later.

Thank you.

Ryusuke Konishi

Quoted 24 lines
---
 sbin/mkfs/mkfs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sbin/mkfs/mkfs.c +1 -1
index e135059..2d04c59 100644
@@ -112,7 +112,7 @@ struct mkfs_options {
 	long r_segments_percentage;
 	int quiet, cflag, nflag;
 	time_t ctime;
-	char volume_label[16];
+	char volume_label[80];
 };
 
 extern char *optarg;
Signature · 6 lines
1.5.6.5

--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html