Files
linux/fs
Zijun Hu bbb67d4f85 configfs: Correct error value returned by API config_item_set_name()
kvasprintf() failure is often caused by memory allocation which has error
code -ENOMEM, but config_item_set_name() returns -EFAULT for the failure.

Fix by returning -ENOMEM instead of -EFAULT for the failure.

Reviewed-by: Joel Becker <jlbec@evilplan.org>
Reviewed-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com>
Link: https://lore.kernel.org/r/20250507-fix_configfs-v3-3-fe2d96de8dc4@quicinc.com
Signed-off-by: Andreas Hindborg <a.hindborg@kernel.org>
2025-05-09 10:11:13 +02:00
..
2025-04-04 11:31:42 -07:00
2025-03-25 15:57:58 +01:00
2025-04-04 11:31:42 -07:00
2024-12-03 10:40:36 +01:00
2025-04-04 11:31:42 -07:00
2025-01-27 19:25:45 -05:00
2025-02-10 16:47:07 -08:00
2024-12-09 11:34:29 +01:00
2024-12-17 09:16:11 +01:00
2025-02-21 10:32:47 +01:00
2024-11-03 01:28:07 -05:00
2024-11-03 01:28:06 -05:00
2024-11-03 01:28:06 -05:00