projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d39a12
)
crc-t10dif: crc_t10dif_mutex can be static
author
kbuild test robot
<fengguang.wu@intel.com>
Tue, 4 Sep 2018 17:52:44 +0000
(
01:52
+0800)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Fri, 14 Sep 2018 06:08:52 +0000
(14:08 +0800)
Fixes:
b76377543b73
("crc-t10dif: Pick better transform if one becomes available")
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
lib/crc-t10dif.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/crc-t10dif.c
b/lib/crc-t10dif.c
index 6507fa101effe326ea80ba088a94ad41dd2e4e16..4d0d47c1ffbd463d5327ce8988e27f2502bf4958 100644
(file)
--- a/
lib/crc-t10dif.c
+++ b/
lib/crc-t10dif.c
@@
-20,7
+20,7
@@
static struct crypto_shash __rcu *crct10dif_tfm;
static struct static_key crct10dif_fallback __read_mostly;
-DEFINE_MUTEX(crc_t10dif_mutex);
+
static
DEFINE_MUTEX(crc_t10dif_mutex);
static int crc_t10dif_rehash(struct notifier_block *self, unsigned long val, void *data)
{