Skip to content

Commit 1c0b3fc

Browse files
damien-lemoalaxboe
authored andcommitted
null_blk: Fix description of the fua parameter
The description of the fua module parameter is defined using MODULE_PARM_DESC() with the first argument passed being "zoned". That is the wrong name, obviously. Fix that by using the correct "fua" parameter name so that "modinfo null_blk" displays correct information. Fixes: f4f8458 ("null_blk: Introduce fua attribute") Cc: stable@vger.kernel.org Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Link: https://lore.kernel.org/r/20240702073234.206458-1-dlemoal@kernel.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent 39823b4 commit 1c0b3fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/block/null_blk/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ MODULE_PARM_DESC(mbps, "Cache size in MiB for memory-backed device. Default: 0 (
227227

228228
static bool g_fua = true;
229229
module_param_named(fua, g_fua, bool, 0444);
230-
MODULE_PARM_DESC(zoned, "Enable/disable FUA support when cache_size is used. Default: true");
230+
MODULE_PARM_DESC(fua, "Enable/disable FUA support when cache_size is used. Default: true");
231231

232232
static unsigned int g_mbps;
233233
module_param_named(mbps, g_mbps, uint, 0444);

0 commit comments

Comments
 (0)