fixed the patch so its what is upstream.

This commit is contained in:
Josef Bacik 2009-01-22 20:09:53 +00:00
parent 2a45a0e72d
commit 0b025a3267
2 changed files with 14 additions and 3 deletions

View File

@ -1,8 +1,16 @@
diff --git a/mkfs.c b/mkfs.c
index d664254..5ed44cc 100644
index d664254..138bcc9 100644
--- a/mkfs.c
+++ b/mkfs.c
@@ -302,12 +302,6 @@ static char *parse_label(char *input)
@@ -294,7 +294,6 @@ static u64 parse_profile(char *s)
static char *parse_label(char *input)
{
- int i;
int len = strlen(input);
if (len > BTRFS_LABEL_SIZE) {
@@ -302,12 +301,6 @@ static char *parse_label(char *input)
BTRFS_LABEL_SIZE);
exit(1);
}

View File

@ -1,6 +1,6 @@
Name: btrfs-progs
Version: 0.18
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Userspace programs for btrfs
Group: System Environment/Base
@ -47,6 +47,9 @@ rm -rf $RPM_BUILD_ROOT
%{_root_sbindir}/btrfstune
%changelog
* Thu Jan 22 2009 Josef Bacik <josef@toxicpanda.com> 0.18-3
- updated label patch
* Thu Jan 22 2009 Josef Bacik <josef@toxicpanda.com> 0.18-2
- add a patch to handle having /'s in labels