diff options
author | 2025-04-19 10:38:03 -0700 | |
---|---|---|
committer | 2025-04-19 10:38:03 -0700 | |
commit | 1ca0f935a126950c2f0b305a50f31f3b00542b0d (patch) | |
tree | 5fc37286150906c91496371c7165de542904ec65 /include/linux | |
parent | Merge tag 'rust-fixes-6.15' of git://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux (diff) | |
parent | nfsd: decrease sc_count directly if fail to queue dl_recall (diff) | |
download | wireguard-linux-1ca0f935a126950c2f0b305a50f31f3b00542b0d.tar.xz wireguard-linux-1ca0f935a126950c2f0b305a50f31f3b00542b0d.zip |
Merge tag 'nfsd-6.15-1' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux
Pull nfsd fixes from Chuck Lever:
- v6.15 libcrc clean-up makes invalid configurations possible
- Fix a potential deadlock introduced during the v6.15 merge window
* tag 'nfsd-6.15-1' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux:
nfsd: decrease sc_count directly if fail to queue dl_recall
nfs: add missing selections of CONFIG_CRC32
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/nfs.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/nfs.h b/include/linux/nfs.h index 9ad727ddfedb..0906a0b40c6a 100644 --- a/include/linux/nfs.h +++ b/include/linux/nfs.h @@ -55,7 +55,6 @@ enum nfs3_stable_how { NFS_INVALID_STABLE_HOW = -1 }; -#ifdef CONFIG_CRC32 /** * nfs_fhandle_hash - calculate the crc32 hash for the filehandle * @fh - pointer to filehandle @@ -67,10 +66,4 @@ static inline u32 nfs_fhandle_hash(const struct nfs_fh *fh) { return ~crc32_le(0xFFFFFFFF, &fh->data[0], fh->size); } -#else /* CONFIG_CRC32 */ -static inline u32 nfs_fhandle_hash(const struct nfs_fh *fh) -{ - return 0; -} -#endif /* CONFIG_CRC32 */ #endif /* _LINUX_NFS_H */ |