From patchwork Sat Jan 19 18:06:18 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gene Czarcinski X-Patchwork-Id: 2007211 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id D60AB3FE81 for ; Sat, 19 Jan 2013 18:06:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752186Ab3ASSGf (ORCPT ); Sat, 19 Jan 2013 13:06:35 -0500 Received: from eastrmfepo201.cox.net ([68.230.241.216]:54300 "EHLO eastrmfepo201.cox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752159Ab3ASSGd (ORCPT ); Sat, 19 Jan 2013 13:06:33 -0500 Received: from eastrmimpo110 ([68.230.241.223]) by eastrmfepo201.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20130119180632.TELZ17456.eastrmfepo201.cox.net@eastrmimpo110> for ; Sat, 19 Jan 2013 13:06:32 -0500 Received: from falcon.lcl ([68.100.144.189]) by eastrmimpo110 with cox id pu6Q1k00N45PsQc01u6XBd; Sat, 19 Jan 2013 13:06:32 -0500 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A010206.50FAE0A8.0028,ss=1,re=0.000,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=2.0 cv=N5Wr5hBB c=1 sm=1 a=xiXiwr23JuvKlkj6ngz4TA==:17 a=CJC_XVV3P00A:10 a=103jMkqsgCkA:10 a=BIJj-m-0AAAA:8 a=wv_S6fDjVVEA:10 a=sjszmGg301_xXz8xMpEA:9 a=LUue1KWhiSUA:10 a=xiXiwr23JuvKlkj6ngz4TA==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; auth=pass (CRAM-MD5) smtp.auth=gczarcinski@cox.net From: Gene Czarcinski To: linux-btrfs@vger.kernel.org Cc: Gene Czarcinski Subject: [PATCH 3/6] Fedora 18 - fix-labels.patch Date: Sat, 19 Jan 2013 13:06:18 -0500 Message-Id: <1358618781-26629-4-git-send-email-gene@czarc.net> X-Mailer: git-send-email 1.8.1 In-Reply-To: <1358618781-26629-1-git-send-email-gene@czarc.net> References: <1358618781-26629-1-git-send-email-gene@czarc.net> Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org Signed-off-by: Gene Czarcinski --- mkfs.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/mkfs.c b/mkfs.c index d123d5f..8c291c9 100644 --- a/mkfs.c +++ b/mkfs.c @@ -352,7 +352,6 @@ static u64 parse_profile(char *s) static char *parse_label(char *input) { - int i; int len = strlen(input); if (len >= BTRFS_LABEL_SIZE) { @@ -360,12 +359,6 @@ static char *parse_label(char *input) BTRFS_LABEL_SIZE - 1); 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); }