Skip to content
Commit 026bde12 authored by Dean Nelson's avatar Dean Nelson Committed by Linus Torvalds
Browse files

sgi-gru: call fs_initcall() if statically linked



If xpc.ko and gru.ko are both statically linked into the kernel, then
xpc_init() can get called before gru_init() and make a call to one of the
gru's exported functions before the gru has initialized itself. The end
result is a NULL dereference.

Signed-off-by: default avatarDean Nelson <dcn@sgi.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 7a0d7940
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment