From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9BF82314A86; Wed, 9 Sep 2026 14:39:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788964776; cv=none; b=CsY+Y3vzJbNyFuWcsSxmQQ8YwxI5ONIFuBxHQoRbueUOi8KjNOqiycxpkRO6IHHWKCG8ylTFIx6WMX9JoXAcyyo2oAiRy/ptsa0v8ckYkF8dAkF973vxjXbZLw47FO/45SJY5ZIjcXm0/tpMMoYYoyCPEA0oq4yLOk9fil7e8JE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788964776; c=relaxed/simple; bh=RtxKV0mmGhKJRdPudpVLkodpCNCw5cIuwODlBhR1vzE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=LoX4TGVwxxGUiZRis46ifptO+i1gS35q8rZD3bVVOb5TBv5WJ0Wygic+36kDIFovRI5sB0xhCBMSGAF2q3tdNRIz31Gvs+vScxD0rtwr5s31CkCn2J7CEzQlDBcoaF3WcMUm6T/kquIP0sSMMpTSSTONZ4XA89gFtU3KaX18Bs8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=dz3MjAYe; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="dz3MjAYe" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 07DD41F00A3A; Wed, 9 Sep 2026 14:39:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1788964774; bh=ygfBeoGs3n+3VPm26KKzd2LC9vTOCPGrt/sqXcgvefs=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=dz3MjAYegSi3FFXO9TmcZb8YquDOEmOiKLyU0phxQtSz+xrJUuWVr7Mo78H02KOYu 2d2pciZccG/4bkTw1iRs5xqAJZUVebB8izKik27RmmIErg/SVq1D5c/m312sHNhwE0 Vp6mrY9Vlus7xM29nLKe6i7KnpuXczPodPazdgHY= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, David Howells , Steve French , Paulo Alcantara , Enzo Matsumiya , linux-cifs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Steve French , Sasha Levin Subject: [PATCH 6.18 539/583] cifs: Scripted clean up fs/smb/client/fscache.h Date: Wed, 9 Sep 2026 15:43:44 +0200 Message-ID: <20260909134256.440961266@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260909134237.773280130@linuxfoundation.org> References: <20260909134237.773280130@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: David Howells [ Upstream commit bc3de356aae666de5d8b5131545be87cf7754431 ] Remove externs, correct argument names and reformat declarations. Signed-off-by: David Howells cc: Steve French cc: Paulo Alcantara cc: Enzo Matsumiya cc: linux-cifs@vger.kernel.org cc: linux-fsdevel@vger.kernel.org cc: linux-kernel@vger.kernel.org Acked-by: Enzo Matsumiya Signed-off-by: Steve French Stable-dep-of: b8e5dc4f95e5 ("smb: client: clear setuid/setgid bit on write with cifsacl/modefromsid/posix extensions") Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- fs/smb/client/fscache.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) --- a/fs/smb/client/fscache.h +++ b/fs/smb/client/fscache.h @@ -38,12 +38,12 @@ struct cifs_fscache_inode_coherency_data /* * fscache.c */ -extern int cifs_fscache_get_super_cookie(struct cifs_tcon *); -extern void cifs_fscache_release_super_cookie(struct cifs_tcon *); +int cifs_fscache_get_super_cookie(struct cifs_tcon *tcon); +void cifs_fscache_release_super_cookie(struct cifs_tcon *tcon); -extern void cifs_fscache_get_inode_cookie(struct inode *inode); -extern void cifs_fscache_release_inode_cookie(struct inode *); -extern void cifs_fscache_unuse_inode_cookie(struct inode *inode, bool update); +void cifs_fscache_get_inode_cookie(struct inode *inode); +void cifs_fscache_release_inode_cookie(struct inode *inode); +void cifs_fscache_unuse_inode_cookie(struct inode *inode, bool update); static inline void cifs_fscache_fill_coherency(struct inode *inode,