From patchwork Wed Jun 20 17:03:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 10477995 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2F688601D7 for ; Wed, 20 Jun 2018 17:06:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1A52428CEB for ; Wed, 20 Jun 2018 17:06:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0E53F28EEF; Wed, 20 Jun 2018 17:06:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8F21C28CEB for ; Wed, 20 Jun 2018 17:06:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932968AbeFTRGI (ORCPT ); Wed, 20 Jun 2018 13:06:08 -0400 Received: from esa3.hgst.iphmx.com ([216.71.153.141]:39979 "EHLO esa3.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932967AbeFTRDw (ORCPT ); Wed, 20 Jun 2018 13:03:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1529514232; x=1561050232; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=Y/ZlqrkeefT/H40/Pal3dMLB5hGDGzR+skMKxDs2Puk=; b=qql0oDkas8mM4hOhfZF8KQ65AdT72olBaGlYqQIv4htOaKxTT4uDu9L9 nw/4s0fd1sLqu6rv8YZuAgGAkAFiunp1mAfTDMPJveuq7VodMp/A7B9B6 ZwtQhsdmy/x8LPBsdQzV4/kTzzUsMinaB/6Kmz+IQNpNmBGsvKQiUZ1nu yU2xVmo3UYFLlCmoU0lP0brwTnuM8n+3XOurZGhIP5TZxmpycROeHKyBn j8/ZT3g5l0p5fZRVWP3v+hE5IJaFPYS+EraG71pFBNf7VkOGkp/kiQXXi Vuv58D4kERiMBf6Lk5ETi3HsMg/98ZCe2aZOLFH5UACKCByk13KWHSaKZ w==; X-IronPort-AV: E=Sophos;i="5.51,248,1526313600"; d="scan'208";a="83357179" Received: from uls-op-cesaip01.wdc.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 21 Jun 2018 01:03:34 +0800 Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep01.wdc.com with ESMTP; 20 Jun 2018 09:53:25 -0700 Received: from thinkpad-bart.sdcorp.global.sandisk.com ([10.111.67.248]) by uls-op-cesaip01.wdc.com with ESMTP; 20 Jun 2018 10:03:34 -0700 From: Bart Van Assche To: Chris Mason Cc: Josef Bacik , David Sterba , linux-btrfs@vger.kernel.org, Bart Van Assche Subject: [PATCH v2 2/3] btrfs: Annotate fall-through Date: Wed, 20 Jun 2018 10:03:32 -0700 Message-Id: <20180620170333.29182-3-bart.vanassche@wdc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180620170333.29182-1-bart.vanassche@wdc.com> References: <20180620170333.29182-1-bart.vanassche@wdc.com> Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch avoids that the compiler complains that a fall-through annotation is missing when building with W=1. Signed-off-by: Bart Van Assche --- fs/btrfs/super.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 81107ad49f3a..3e298f26a383 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c @@ -760,6 +760,7 @@ int btrfs_parse_options(struct btrfs_fs_info *info, char *options, case Opt_recovery: btrfs_warn(info, "'recovery' is deprecated, use 'usebackuproot' instead"); + /* fall through */ case Opt_usebackuproot: btrfs_info(info, "trying to use backup root at mount time");