From patchwork Wed Feb 24 13:32:29 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Bunk X-Patchwork-Id: 46120 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 4E66EB7CBD for ; Thu, 25 Feb 2010 00:33:35 +1100 (EST) Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1NkHKo-0001gr-U1; Wed, 24 Feb 2010 13:31:26 +0000 Received: from filtteri5.pp.htv.fi ([213.243.153.188]) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1NkHKj-0001gX-CU for linux-mtd@lists.infradead.org; Wed, 24 Feb 2010 13:31:25 +0000 Received: from localhost (localhost [127.0.0.1]) by filtteri5.pp.htv.fi (Postfix) with ESMTP id 111BD5A60E7 for ; Wed, 24 Feb 2010 15:31:20 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at pp.htv.fi Received: from smtp4.welho.com ([213.243.153.38]) by localhost (filtteri5.pp.htv.fi [213.243.153.188]) (amavisd-new, port 10024) with ESMTP id NFeiCo6QBpAv for ; Wed, 24 Feb 2010 15:31:19 +0200 (EET) Received: from localhost.pp.htv.fi (cs181201061.pp.htv.fi [82.181.201.61]) by smtp4.welho.com (Postfix) with ESMTP id 977C75BC005 for ; Wed, 24 Feb 2010 15:31:19 +0200 (EET) Date: Wed, 24 Feb 2010 15:32:29 +0200 From: Adrian Bunk To: linux-mtd@lists.infradead.org Subject: [mtd-utils patch] mkfs.jffs2: fix --enable-compressor Message-ID: <20100224133229.GA23442@localhost.pp.htv.fi> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20100224_083121_589378_0E07FE6B X-CRM114-Status: UNSURE ( 8.77 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.2.5 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- _SUMMARY_ X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-mtd-bounces@lists.infradead.org Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org The short option -X was working, but the documented long option --enable-compressor was missing. Signed-off-by: Adrian Bunk --- mkfs.jffs2.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/mkfs.jffs2.c b/mkfs.jffs2.c index 23a8cf8..64cafb6 100644 --- a/mkfs.jffs2.c +++ b/mkfs.jffs2.c @@ -1468,6 +1468,7 @@ static struct option long_options[] = { {"devtable", 1, NULL, 'D'}, {"compression-mode", 1, NULL, 'm'}, {"disable-compressor", 1, NULL, 'x'}, + {"enable-compressor", 1, NULL, 'X'}, {"test-compression", 0, NULL, 't'}, {"compressor-priority", 1, NULL, 'y'}, {"incremental", 1, NULL, 'i'},