]> www.infradead.org Git - users/hch/blktests.git/commit
common: fix _have_module_param_value to work with built-in drivers
authorChristoph Hellwig <hch@lst.de>
Wed, 1 Jun 2022 06:48:33 +0000 (08:48 +0200)
committerShin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Thu, 2 Jun 2022 04:24:13 +0000 (13:24 +0900)
commitbc4538c961e6588d343ad38c99bfa6e510abee68
tree3d3e37956e1d67ebd2d6955df6b4301f068e40aa
parente9645877fbf002207b656bfe4171791496dbbab1
common: fix _have_module_param_value to work with built-in drivers

Don't bother to call modprobe directly and just check the /sys/module/
directory.  Also switch to using descriptive variable names for the
parameters.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
common/rc