Linux NILFS development
 help / color / mirror / Atom feed
* [PATCH] nilfs2-utils: fix volume label size in mkfs
@ 2010-08-06  8:38 Jiro SEKIBA
       [not found] ` <87y6ckb0f2.wl%jir-27yqGEOhnJbQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Jiro SEKIBA @ 2010-08-06  8:38 UTC (permalink / raw)
  To: linux-nilfs-u79uwXL29TY76Z2rM5mHXA; +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 <jir-hfpbi5WX9J54Eiagz67IpQ@public.gmane.org>
---
 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] nilfs2-utils: fix volume label size in mkfs
       [not found] ` <87y6ckb0f2.wl%jir-27yqGEOhnJbQT0dZR+AlfA@public.gmane.org>
@ 2010-08-06 10:50   ` Ryusuke Konishi
  0 siblings, 0 replies; 2+ messages in thread
From: Ryusuke Konishi @ 2010-08-06 10:50 UTC (permalink / raw)
  To: jir-hfpbi5WX9J54Eiagz67IpQ
  Cc: linux-nilfs-u79uwXL29TY76Z2rM5mHXA,
	konishi.ryusuke-Zyj7fXuS5i5L9jVzuh4AOg

On Fri, 06 Aug 2010 17:38:57 +0900, Jiro SEKIBA wrote:
> 
> 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-hfpbi5WX9J54Eiagz67IpQ@public.gmane.org>

Ahh, I got it.  Will apply later.

Thank you.

Ryusuke Konishi

> ---
>  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
--
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-06 10:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-06  8:38 [PATCH] nilfs2-utils: fix volume label size in mkfs Jiro SEKIBA
     [not found] ` <87y6ckb0f2.wl%jir-27yqGEOhnJbQT0dZR+AlfA@public.gmane.org>
2010-08-06 10:50   ` Ryusuke Konishi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox