diff options
author | Tomohiro Kusumi <[email protected]> | 2019-07-20 03:23:56 +0900 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-07-19 11:23:56 -0700 |
commit | 09276fde1ce7730804957da88350c893d635526b (patch) | |
tree | a990650308165a6fbec64f2049c3f3a58ab8c5bf /module/zfs/zfs_vnops.c | |
parent | d84c5a120e992a3576b0fdab233ed619ffeb9539 (diff) |
Fix module_param() type for zfs_read_chunk_size
zfs_read_chunk_size is unsigned long.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Tomohiro Kusumi <[email protected]>
Closes #9051
Diffstat (limited to 'module/zfs/zfs_vnops.c')
-rw-r--r-- | module/zfs/zfs_vnops.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/module/zfs/zfs_vnops.c b/module/zfs/zfs_vnops.c index 4f07111f2..2a49293c2 100644 --- a/module/zfs/zfs_vnops.c +++ b/module/zfs/zfs_vnops.c @@ -5260,9 +5260,11 @@ EXPORT_SYMBOL(zfs_putpage); EXPORT_SYMBOL(zfs_dirty_inode); EXPORT_SYMBOL(zfs_map); -/* CSTYLED */ +/* BEGIN CSTYLED */ module_param(zfs_delete_blocks, ulong, 0644); MODULE_PARM_DESC(zfs_delete_blocks, "Delete files larger than N blocks async"); -module_param(zfs_read_chunk_size, long, 0644); +module_param(zfs_read_chunk_size, ulong, 0644); MODULE_PARM_DESC(zfs_read_chunk_size, "Bytes to read per chunk"); +/* END CSTYLED */ + #endif |