Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2724931imj; Mon, 11 Feb 2019 07:33:13 -0800 (PST) X-Google-Smtp-Source: AHgI3IZ8GXjVjtn0pkRiNLi9nL/CwTmlcP4oUHVyDm4I3i4rvGjbVjeHvSOSQUwrrcpC1QFIr1VN X-Received: by 2002:a17:902:9006:: with SMTP id a6mr37517592plp.334.1549899193546; Mon, 11 Feb 2019 07:33:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549899193; cv=none; d=google.com; s=arc-20160816; b=V90Xlkauo6JjqDknYcZqaj3JsGCN1wYuS+3RLT+uH6i3fFTsInIiGczDhgOUV2szve 6M1rY/ooSg3fSXBcrZdhm1uUE1JtD33TAfD6Np3iw9CKFzuhgdQjOIcqDFJ4iqVSVorK rh+TZhbnR7DrHnusZS43BiIzD6sZXfkERdbdbBHKujf18FdIeB0a2ljA+KL2yEBtaMhI 4KXOLhtKJqIu4Dc104loho4ZkWd+MmzQ3YNiA9lGr1MkMyl0dD7tKJEx9bcOb3d4H1/p Db3Wz7yqDDfJsw1UJLTH7hoIAlseB0xJS+GoOY+XtNZMn70wfKi5PaONqkBPx7f31VBX 6awA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=FwwP7jPQJFOYDkwxh7FlaEDwtWIHBL7LvdeLqbBsPvk=; b=MITUwBW7XU1/sTMJnm6r8dSC+C7HEEx5o8x0qoLSoEjwZFdW8IUdCLiSYazGy0lCit kUpwTQ8TThggaowT/kkeGttJ5Yv9M/cAk2KtikkEmCuWPuCYc+S+uBrpjV2vE3jRk5kl Pah2s0fHjnPQEOdPnVejwofC2aURxizwcQVBm1bJOeqqp9S9ze1J7GTM7WKnkXKZ+I5O 3kKuR65yrgIRHXgo8Lj2U0qhRr/V4980nER1os69+zs2EZbPVSEIglnrjucDUhrrtMIF 8H/AAUrJV4nJI2wRdoRNWm4T2PmYTlAO2NigpBE4S4ByIs3FU7d3w4kPoqK4QPo24RzW HAWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qVA1RR5q; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l5si347935pgn.17.2019.02.11.07.32.57; Mon, 11 Feb 2019 07:33:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qVA1RR5q; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389080AbfBKOz6 (ORCPT + 99 others); Mon, 11 Feb 2019 09:55:58 -0500 Received: from mail.kernel.org ([198.145.29.99]:43056 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389075AbfBKOz4 (ORCPT ); Mon, 11 Feb 2019 09:55:56 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B65D920700; Mon, 11 Feb 2019 14:55:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549896956; bh=VQ/3WoVlo/9d7KFML1aB3x94LoA26dWhCYjKqsYX5cI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qVA1RR5qPUE245sRA47dM4Os241WG6Dtg4ote2CtYmo//WNLzF07rVoVWS44M6uuC AQtn68WTxPBh9BgdDoKE1n67G7LpvRXa2tjW6zH0NHvg3ev6YE7lbfZtbc/HN+RxS1 92iwQhrrV6xtyGYO/1HgMkcas46BRJQinForBwlw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Stephen Rothwell , Jaegeuk Kim , Sasha Levin Subject: [PATCH 4.14 043/205] f2fs: avoid build warn of fall_through Date: Mon, 11 Feb 2019 15:17:21 +0100 Message-Id: <20190211141831.547063186@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211141827.214852402@linuxfoundation.org> References: <20190211141827.214852402@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit f5d5510e7389fa264337fb524346bac9eb93adc8 ] After merging the f2fs tree, today's linux-next build (x86_64_allmodconfig) produced this warning: In file included from fs/f2fs/dir.c:11: fs/f2fs/f2fs.h: In function '__mark_inode_dirty_flag': fs/f2fs/f2fs.h:2388:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (set) ^ fs/f2fs/f2fs.h:2390:2: note: here case FI_DATA_EXIST: ^~~~ Exposed by my use of -Wimplicit-fallthrough Reported-by: Stephen Rothwell Signed-off-by: Jaegeuk Kim Signed-off-by: Sasha Levin --- fs/f2fs/f2fs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 3f1a44696036..d2873f227072 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -2014,6 +2014,7 @@ static inline void __mark_inode_dirty_flag(struct inode *inode, case FI_INLINE_DENTRY: if (set) return; + /* fall through */ case FI_DATA_EXIST: case FI_INLINE_DOTS: f2fs_mark_inode_dirty_sync(inode, true); -- 2.19.1