From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AFFA6C433DF for ; Thu, 18 Jun 2020 02:42:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 81C7521927 for ; Thu, 18 Jun 2020 02:42:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592448122; bh=nd3Q9O8wgiC7/4gHtMEUgLr+DTz8kVmOYU9qM77/DeI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=ilKPhf8B3vJkaLr5xvui80rQGCVB1Rohxiwy7opKJR8Puq8AvwGVcP4v50AV0UDvB 4I2PtVUyuybSkinjisxH8SjZ8PtodoKKQIjxNXOFCVC+oD+1H+8m7MPye/NvSiMAtm WjNuVgU5TMWK0ZU5VuskqWsOmajBLRQeaYodhwyk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728870AbgFRBMN (ORCPT ); Wed, 17 Jun 2020 21:12:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:40672 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728871AbgFRBMN (ORCPT ); Wed, 17 Jun 2020 21:12:13 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1F55C20EDD; Thu, 18 Jun 2020 01:12:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592442732; bh=nd3Q9O8wgiC7/4gHtMEUgLr+DTz8kVmOYU9qM77/DeI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hlA392vWciZNKg5D8uxXs5EA2E5r8zLmyhwgTNJ9GKnWVnBuwNhaStiGksFBZUJuU lerr4ehVmcTByc5pJAWWZz7Mm3Ebu9u7H1SuB2Iy0e1+4KRJYG8WYViO41HO0hb9kD QsuGMCu9g4K9BsqseQna5VfGQ7S61nvCKFKXYOIQ= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: YueHaibing , Chao Yu , Jaegeuk Kim , Sasha Levin , linux-f2fs-devel@lists.sourceforge.net Subject: [PATCH AUTOSEL 5.7 188/388] f2fs: Fix wrong stub helper update_sit_info Date: Wed, 17 Jun 2020 21:04:45 -0400 Message-Id: <20200618010805.600873-188-sashal@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200618010805.600873-1-sashal@kernel.org> References: <20200618010805.600873-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: YueHaibing [ Upstream commit 48abe91ac1ad27cd5a5709f983dcf58f2b9a6b70 ] update_sit_info should be f2fs_update_sit_info, otherwise build fails while no CONFIG_F2FS_STAT_FS. Fixes: fc7100ea2a52 ("f2fs: Add f2fs stats to sysfs") Signed-off-by: YueHaibing Reviewed-by: Chao Yu Signed-off-by: Jaegeuk Kim Signed-off-by: Sasha Levin --- fs/f2fs/f2fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index ba470d5687fe..1f8ae28d7ccf 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -3655,7 +3655,7 @@ static inline int f2fs_build_stats(struct f2fs_sb_info *sbi) { return 0; } static inline void f2fs_destroy_stats(struct f2fs_sb_info *sbi) { } static inline void __init f2fs_create_root_stats(void) { } static inline void f2fs_destroy_root_stats(void) { } -static inline void update_sit_info(struct f2fs_sb_info *sbi) {} +static inline void f2fs_update_sit_info(struct f2fs_sb_info *sbi) {} #endif extern const struct file_operations f2fs_dir_operations; -- 2.25.1