diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-06-12 21:46:57 -0600 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-06-12 21:46:58 +0930 |
commit | fddd520122953550ec2c8b60e7ca0d0f0d115d97 (patch) | |
tree | d0c45f94bc0054661ee9af41b607815c24a36cff /fs/jbd2 | |
parent | d2c123c27db841c6c11a63de9c144823d2b1ba76 (diff) | |
download | op-kernel-dev-fddd520122953550ec2c8b60e7ca0d0f0d115d97.zip op-kernel-dev-fddd520122953550ec2c8b60e7ca0d0f0d115d97.tar.gz |
module_param: allow 'bool' module_params to be bool, not just int.
Impact: API cleanup
For historical reasons, 'bool' parameters must be an int, not a bool.
But there are around 600 users, so a conversion seems like useless churn.
So we use __same_type() to distinguish, and handle both cases.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'fs/jbd2')
0 files changed, 0 insertions, 0 deletions