From 731f44093d38ca087c8b2075dcb3aa1f04ce76ad Mon Sep 17 00:00:00 2001 From: Tomohiro Kusumi Date: Wed, 17 Jul 2019 15:03:49 +0900 Subject: [PATCH] Fix module_param() type for zfs_read_chunk_size It's unsigned long. Signed-off-by: Tomohiro Kusumi --- module/zfs/zfs_vnops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/zfs/zfs_vnops.c b/module/zfs/zfs_vnops.c index 9d8a9cbc5419..8b999a8b86d5 100644 --- a/module/zfs/zfs_vnops.c +++ b/module/zfs/zfs_vnops.c @@ -5262,6 +5262,6 @@ EXPORT_SYMBOL(zfs_map); /* 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"); #endif