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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 10F2EC433EF for ; Tue, 2 Nov 2021 21:24:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E4DB76109F for ; Tue, 2 Nov 2021 21:24:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231248AbhKBV1c (ORCPT ); Tue, 2 Nov 2021 17:27:32 -0400 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:40533 "EHLO wout5-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231240AbhKBV1b (ORCPT ); Tue, 2 Nov 2021 17:27:31 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 19BF13202026; Tue, 2 Nov 2021 17:24:56 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 02 Nov 2021 17:24:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm1; bh=ygRcoHW2+9lUg kqJTnZh667/CKkm3ovyI7690S36gmk=; b=M7fcbJh53o0J7hn5Zo0K3X3YvUx0/ dXQuzRCThXrHs4cdMbS5s57Dm/vM393MiEZG42ou8E5jyHK8cGRcOZSOpjKiVLUI I980gcwf/RAPXl4hNrfZJUF8aZ38N9MITgm0Yq98aBaZhk/daH+PvS0Wnl+LDnAd LoLbHkbYQjO1DkXcnykdIH4WNFuB9pw7jJbGS8JKHX6eGHkzWUtRcO5M1ciUoR7p q/m1yRxb6r8R7QtWGaDbuHtxVAFBeSEDeIe19aIJQ3FvpXmvXAeX99c3RDLvkgeI pa/m0OU+nk85Dx5h7n8raWySxik7mnr1U0hjeqfnn6Ku4fD7TChUH0qpg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=ygRcoHW2+9lUgkqJTnZh667/CKkm3ovyI7690S36gmk=; b=c4JMLzy5 x6Aecg2gnkeCCXZQthZbLVDV66KZNwGBdEwy+JMdztG4NWpMvEl4teC2yYv23u7v LYry8osu78IeKd4CIDrHfqDB/SUp2WPrTUATYjsV5U5a91a/IP6oAJiUbvudwLQR xtn+ibV+4cb8rOBPZKazcSLK2jXfxZpEiLegJBhJlHIXjuNVPLBcSAoqg6gk1au7 EBmTfenGeMt/4/zE+WYvjtbkxEFXr6tiIN5zLTn3OTdW9i/RluemxK34aRLg78TZ vc6HlnAz1EyWLuC7TVkeRzyS5mY3WqgxfqH+mOdAckeI9SBsHJy2gmVMVf5XW0Mn +NUdRW4A8q/Qjg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrtddtgdduvdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeevhhhrihhs thhophhhvgcugghuqdeurhhughhivghruceotghvuhgsrhhughhivghrsehfrghsthhmrg hilhdrfhhmqeenucggtffrrghtthgvrhhnpeekjeettefgieetvdekudevudduvddvueet lefhieevffehudfhveeutdevgfekffenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpegtvhhusghruhhgihgvrhesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 2 Nov 2021 17:24:54 -0400 (EDT) From: Christophe Vu-Brugier To: linux-fsdevel@vger.kernel.org Cc: Namjae Jeon , Sungjong Seo , Christophe Vu-Brugier Subject: [PATCH 3/4] exfat: make exfat_find_location() static Date: Tue, 2 Nov 2021 22:23:57 +0100 Message-Id: <20211102212358.3849-4-cvubrugier@fastmail.fm> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211102212358.3849-1-cvubrugier@fastmail.fm> References: <20211102212358.3849-1-cvubrugier@fastmail.fm> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org From: Christophe Vu-Brugier Signed-off-by: Christophe Vu-Brugier --- fs/exfat/dir.c | 4 ++-- fs/exfat/exfat_fs.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/fs/exfat/dir.c b/fs/exfat/dir.c index ac14055bf38a..68ad54113d8b 100644 --- a/fs/exfat/dir.c +++ b/fs/exfat/dir.c @@ -656,8 +656,8 @@ static int exfat_walk_fat_chain(struct super_block *sb, return 0; } -int exfat_find_location(struct super_block *sb, struct exfat_chain *p_dir, - int entry, sector_t *sector, int *offset) +static int exfat_find_location(struct super_block *sb, struct exfat_chain *p_dir, + int entry, sector_t *sector, int *offset) { int ret; unsigned int off, clu = 0; diff --git a/fs/exfat/exfat_fs.h b/fs/exfat/exfat_fs.h index 1d6da61157c9..a8f5bc536dcf 100644 --- a/fs/exfat/exfat_fs.h +++ b/fs/exfat/exfat_fs.h @@ -459,8 +459,6 @@ int exfat_find_dir_entry(struct super_block *sb, struct exfat_inode_info *ei, struct exfat_chain *p_dir, struct exfat_uni_name *p_uniname, int num_entries, unsigned int type, struct exfat_hint *hint_opt); int exfat_alloc_new_dir(struct inode *inode, struct exfat_chain *clu); -int exfat_find_location(struct super_block *sb, struct exfat_chain *p_dir, - int entry, sector_t *sector, int *offset); struct exfat_dentry *exfat_get_dentry(struct super_block *sb, struct exfat_chain *p_dir, int entry, struct buffer_head **bh, sector_t *sector); -- 2.20.1