From patchwork Fri Dec 19 16:06:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Sterba X-Patchwork-Id: 5520541 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C87189F1CD for ; Fri, 19 Dec 2014 16:06:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 194F920121 for ; Fri, 19 Dec 2014 16:06:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 14E232013D for ; Fri, 19 Dec 2014 16:06:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751399AbaLSQG1 (ORCPT ); Fri, 19 Dec 2014 11:06:27 -0500 Received: from cantor2.suse.de ([195.135.220.15]:43111 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751142AbaLSQG0 (ORCPT ); Fri, 19 Dec 2014 11:06:26 -0500 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 87552AC19 for ; Fri, 19 Dec 2014 16:06:25 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 0D9E7DAA27; Fri, 19 Dec 2014 17:06:25 +0100 (CET) From: David Sterba To: linux-btrfs@vger.kernel.org Cc: David Sterba Subject: [PATCH 1/6] btrfs-progs: corrupt block, add missing break to option I Date: Fri, 19 Dec 2014 17:06:25 +0100 Message-Id: <42b74f46eeeae9aa4b93e4316d56e7a165a492ae.1419005022.git.dsterba@suse.cz> X-Mailer: git-send-email 2.1.3 In-Reply-To: References: Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Using -I would imply -d. Resolves-Coverity-CID: 1258792 Signed-off-by: David Sterba Reviewed-by: Eric Sandeen --- btrfs-corrupt-block.c | 1 + 1 file changed, 1 insertion(+) diff --git a/btrfs-corrupt-block.c b/btrfs-corrupt-block.c index af9ae4d4047c..aeeb1b298f66 100644 --- a/btrfs-corrupt-block.c +++ b/btrfs-corrupt-block.c @@ -1096,6 +1096,7 @@ int main(int ac, char **av) break; case 'I': corrupt_item = 1; + break; case 'd': delete = 1; break;