From 09276fde1ce7730804957da88350c893d635526b Mon Sep 17 00:00:00 2001 From: Tomohiro Kusumi Date: Sat, 20 Jul 2019 03:23:56 +0900 Subject: Fix module_param() type for zfs_read_chunk_size zfs_read_chunk_size is unsigned long. Reviewed-by: Brian Behlendorf Signed-off-by: Tomohiro Kusumi Closes #9051 --- module/zfs/zfs_vnops.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'module/zfs/zfs_vnops.c') 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 -- cgit v1.2.3