From: Alan Stern Date: Thu, 26 Apr 2007 07:12:04 +0000 (-0700) Subject: device_schedule_callback() needs a module reference X-Git-Tag: v2.6.22-rc1~1119^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=523ded71de0c5e66973335bf99a80edfda9f401b;p=pandora-kernel.git device_schedule_callback() needs a module reference This patch (as896b) fixes an oversight in the design of device_schedule_callback(). It is necessary to acquire a reference to the module owning the callback routine, to prevent the module from being unloaded before the callback can run. Signed-off-by: Alan Stern Cc: Satyam Sharma Cc: Neil Brown Cc: Cornelia Huck Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed