diff options
author | Christophe JAILLET <[email protected]> | 2023-10-10 18:04:41 -0400 |
---|---|---|
committer | David Teigland <[email protected]> | 2023-10-12 15:19:29 -0500 |
commit | 19b3102c0b5350621e7492281f2be0f071fb7e31 (patch) | |
tree | 69c3c327b2955a63ed1319699ac6532c032741d5 /tools/perf/scripts/python/sched-migration.py | |
parent | 94f6f0550c625fab1f373bb86a6669b45e9748b3 (diff) |
fs: dlm: Simplify buffer size computation in dlm_create_debug_file()
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 <[email protected]>
Signed-off-by: Alexander Aring <[email protected]>
Signed-off-by: David Teigland <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions