Christophe JAILLET 4bc46c047e fs: dlm: Simplify buffer size computation in dlm_create_debug_file()
[ Upstream commit 19b3102c0b5350621e7492281f2be0f071fb7e31 ]

Use sizeof(name) instead of the equivalent, but hard coded,
DLM_LOCKSPACE_LEN + 8.

This is less verbose and more future proof.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-20 11:59:37 +01:00
..
2023-03-06 15:49:07 -06:00
2023-08-10 10:33:03 -05:00
2023-08-10 10:33:03 -05:00
2023-03-06 15:49:07 -06:00
2023-08-10 10:33:03 -05:00
2023-08-10 10:33:03 -05:00
2023-03-06 15:49:07 -06:00
2023-08-10 10:33:03 -05:00
2023-08-10 10:33:03 -05:00
2023-11-20 11:59:21 +01:00
2023-08-10 10:33:03 -05:00
2023-08-10 10:33:03 -05:00
2023-08-10 10:33:03 -05:00
2022-04-06 14:02:37 -05:00
2022-04-06 14:02:37 -05:00