Skip to contentSkip to conversation

bcachefs: Remove unnecessary softdep on xxhash

PATCH Applied Eric Biggers 2 participants 2 messages Apr 2, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bcachefs: Remove unnecessary softdep on xxhash

From: Eric Biggers <[email protected]>

As with the other algorithms, bcachefs does not access xxhash through the crypto API. So there is no need to use a module softdep to ensure that it is loaded.

---
 fs/bcachefs/super.c | 1 -
 1 file changed, 1 deletion(-)
fs/bcachefs/super.c +0 -1
index 7b3716a9e6cb7..1941b656f4103 100644
@@ -72,11 +72,10 @@
 #include <linux/sysfs.h>
 
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Kent Overstreet <[email protected]>");
 MODULE_DESCRIPTION("bcachefs filesystem");
-MODULE_SOFTDEP("pre: xxhash");
 
 const char * const bch2_fs_flag_strs[] = {
 #define x(n)		#n,
 	BCH_FS_FLAGS()
 #undef x

base-commit: 04c4768d24f70d457ff49681ef726d5d23c089a5

Signature · 1 line
2.49.0
#1 lore raw
Quoted 7 lines · Eric Biggers

From: Eric Biggers <[email protected]>

As with the other algorithms, bcachefs does not access xxhash through the crypto API. So there is no need to use a module softdep to ensure that it is loaded.

Applied

Quoted 25 lines
---
 fs/bcachefs/super.c | 1 -
 1 file changed, 1 deletion(-)
fs/bcachefs/super.c +0 -1
index 7b3716a9e6cb7..1941b656f4103 100644
@@ -72,11 +72,10 @@
 #include <linux/sysfs.h>
 
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Kent Overstreet <[email protected]>");
 MODULE_DESCRIPTION("bcachefs filesystem");
-MODULE_SOFTDEP("pre: xxhash");
 
 const char * const bch2_fs_flag_strs[] = {
 #define x(n)		#n,
 	BCH_FS_FLAGS()
 #undef x

base-commit: 04c4768d24f70d457ff49681ef726d5d23c089a5

Signature · 1 line
2.49.0