[PATCH] nilfs2-utils: fix volume label size in mkfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Signed-off-by: Jiro SEKIBA <jir@xxxxxxxxx>
---
 sbin/mkfs/mkfs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sbin/mkfs/mkfs.c b/sbin/mkfs/mkfs.c
index e135059..2d04c59 100644
--- a/sbin/mkfs/mkfs.c
+++ b/sbin/mkfs/mkfs.c
@@ -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;
-- 
1.5.6.5

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


[Index of Archives]     [Linux Filesystem Development]     [Linux BTRFS]     [Linux CIFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux