summaryrefslogtreecommitdiffstats
path: root/fs/dlm/lock.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2023-10-11 00:04:41 +0200
committerDavid Teigland <teigland@redhat.com>2023-10-12 22:19:29 +0200
commit19b3102c0b5350621e7492281f2be0f071fb7e31 (patch)
tree69c3c327b2955a63ed1319699ac6532c032741d5 /fs/dlm/lock.c
parentLinux 6.6-rc5 (diff)
downloadlinux-19b3102c0b5350621e7492281f2be0f071fb7e31.tar.xz
linux-19b3102c0b5350621e7492281f2be0f071fb7e31.zip
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 <christophe.jaillet@wanadoo.fr> Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/lock.c')
0 files changed, 0 insertions, 0 deletions