]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
nfs: move nfs_fhandle_hash to common include file
authorJeff Layton <jlayton@kernel.org>
Fri, 3 Mar 2023 12:16:02 +0000 (07:16 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 May 2025 05:44:12 +0000 (07:44 +0200)
commit72f7ccad7ed5096cc71e85543dd1d850997bc53a
treea996f66fd39d3a05f4fe871f7062791772e00722
parent41a125eb52d6ac76c48eb32f72187e1915c12fa6
nfs: move nfs_fhandle_hash to common include file

[ Upstream commit e59fb6749ed833deee5b3cfd7e89925296d41f49 ]

lockd needs to be able to hash filehandles for tracepoints. Move the
nfs_fhandle_hash() helper to a common nfs include file.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Stable-dep-of: cd35b6cb4664 ("nfs: add missing selections of CONFIG_CRC32")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfs/internal.h
include/linux/nfs.h