From: Jens Axboe Date: Tue, 19 Feb 2008 09:20:37 +0000 (+0100) Subject: elevator: make elevator_get() attempt to load the appropriate module X-Git-Tag: v2.6.25-rc3~122^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e164094964e6e20fe7fce418e06a9dce952bb7a4;p=pandora-kernel.git elevator: make elevator_get() attempt to load the appropriate module Currently we fail if someone requests a valid io scheduler, but it's modular and not currently loaded. That can happen from a driver init asking for a different scheduler, or online switching through sysfs as requested by a user. This patch makes elevator_get() request_module() to attempt to load the appropriate module, instead of requiring that done manually. Signed-off-by: Jens Axboe --- Reading git-diff-tree failed