fixed the patch so its what is upstream.
This commit is contained in:
parent
2a45a0e72d
commit
0b025a3267
|
@ -1,8 +1,16 @@
|
||||||
diff --git a/mkfs.c b/mkfs.c
|
diff --git a/mkfs.c b/mkfs.c
|
||||||
index d664254..5ed44cc 100644
|
index d664254..138bcc9 100644
|
||||||
--- a/mkfs.c
|
--- a/mkfs.c
|
||||||
+++ b/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);
|
BTRFS_LABEL_SIZE);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
Name: btrfs-progs
|
Name: btrfs-progs
|
||||||
Version: 0.18
|
Version: 0.18
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Userspace programs for btrfs
|
Summary: Userspace programs for btrfs
|
||||||
|
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
|
@ -47,6 +47,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%{_root_sbindir}/btrfstune
|
%{_root_sbindir}/btrfstune
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Jan 22 2009 Josef Bacik <josef@toxicpanda.com> 0.18-2
|
||||||
- add a patch to handle having /'s in labels
|
- add a patch to handle having /'s in labels
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue