Files
linux/fs
Thorsten Blum b29a0a37f4 dcache: Replace simple_strtoul with kstrtoul in set_dhash_entries
Replace simple_strtoul() with the recommended kstrtoul() for parsing the
'dhash_entries=' boot parameter.

Check the return value of kstrtoul() and reject invalid values. This
adds error handling while preserving behavior for existing values, and
removes use of the deprecated simple_strtoul() helper.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20251216145236.44520-2-thorsten.blum@linux.dev
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
2025-12-24 13:49:36 +01:00
..
2025-11-16 01:35:04 -05:00
2025-11-16 01:35:03 -05:00
2025-09-16 23:59:38 -04:00
2025-11-04 12:36:33 +01:00
2025-11-28 12:42:31 +01:00
2025-11-12 09:38:34 +01:00
2025-10-07 12:48:33 +02:00
2025-09-01 13:08:01 +02:00
2025-11-05 09:51:30 +01:00
2025-05-23 14:20:44 +02:00
2025-11-04 08:28:34 +01:00
2025-11-12 09:38:34 +01:00