From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiro SEKIBA Subject: [PATCH] nilfs2-utils: fix volume label size in mkfs Date: Fri, 06 Aug 2010 17:38:57 +0900 Message-ID: <87y6ckb0f2.wl%jir@sekiba.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Return-path: Sender: linux-nilfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: Ryusuke Konishi 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 --- 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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html