summaryrefslogtreecommitdiffstats
path: root/kernel/signal.c
diff options
context:
space:
mode:
authorFilipe David Borba Manana <fdmanana@gmail.com>2014-02-01 22:27:56 +0100
committerChris Mason <clm@fb.com>2014-02-03 18:01:28 +0100
commit60efa5eb2e886852a0d5f9e1ffa7c896a1099da8 (patch)
tree98eb793d5c46e43b1c9fe6dcceeee62a091aebfe /kernel/signal.c
parentBtrfs: use btrfs_crc32c everywhere instead of libcrc32c (diff)
downloadlinux-60efa5eb2e886852a0d5f9e1ffa7c896a1099da8.tar.xz
linux-60efa5eb2e886852a0d5f9e1ffa7c896a1099da8.zip
Btrfs: use late_initcall instead of module_init
It seems that when init_btrfs_fs() is called, crc32c/crc32c-intel might not always be already initialized, which results in the call to crypto_alloc_shash() returning -ENOENT, as experienced by Ahmet who reported this. Therefore make sure init_btrfs_fs() is called after crc32c is initialized (which is at initialization level 6, module_init), by using late_initcall (which is at initialization level 7) instead of module_init for btrfs. Reported-and-Tested-by: Ahmet Inan <ainan@mathematik.uni-freiburg.de> Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'kernel/signal.c')
0 files changed, 0 insertions, 0 deletions