]> 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, 25 Apr 2025 08:43:52 +0000 (10:43 +0200)
commit5ed9e05f593aefc8c98a76986cf14f369a1f2214
tree789e3028a7abaa90d92dc480b884f0be87f4f820
parent943fe13970637eb3d65183611f31649abb2ea520
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