aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/btrfs-tools/btrfs-tools/debian/01-labels.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/btrfs-tools/btrfs-tools/debian/01-labels.patch')
-rw-r--r--meta/recipes-devtools/btrfs-tools/btrfs-tools/debian/01-labels.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools/debian/01-labels.patch b/meta/recipes-devtools/btrfs-tools/btrfs-tools/debian/01-labels.patch
deleted file mode 100644
index b15a1c98ed..0000000000
--- a/meta/recipes-devtools/btrfs-tools/btrfs-tools/debian/01-labels.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Upstream-Status: Inappropriate [distribution: debian]
-
-Author: Chris Mason <chris.mason@oracle.com>
-Description: Allow /'s in labels.
-
-diff -Naurp btrfs-tools.orig/mkfs.c btrfs-tools/mkfs.c
---- btrfs-tools.orig/mkfs.c 2009-03-15 13:27:12.000000000 +0100
-+++ btrfs-tools/mkfs.c 2009-04-17 20:53:12.000000000 +0200
-@@ -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);
- }
-- for (i = 0; i < len; i++) {
-- if (input[i] == '/' || input[i] == '\\') {
-- fprintf(stderr, "invalid label %s\n", input);
-- exit(1);
-- }
-- }
- return strdup(input);
- }
-