]> git.baikalelectronics.ru Git - kernel.git/commit
staging/lustre: surround module_refcount with CONFIG_MODULE_UNLOAD
authorPeng Tao <bergwolf@gmail.com>
Thu, 6 Jun 2013 14:59:12 +0000 (22:59 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Jun 2013 18:31:02 +0000 (11:31 -0700)
commit5c7dce018a3ba940cab0ceb298bbc1cc26a0e3fb
tree6367666115665fead41375b08f0ca58d4c599302
parent5de0d6192be33fb1326e9f652676ac28e090ca07
staging/lustre: surround module_refcount with CONFIG_MODULE_UNLOAD

module_refcount() is not available when CONFIG_MODULE_UNLOAD is off.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Peng Tao <tao.peng@emc.com>
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/obdclass/lu_object.c