From 643bc2659578fff27f707bf041f45d10796d743c Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Thu, 29 Aug 2024 23:25:10 +0200 Subject: [PATCH] cleanup: typo dirctory to directory Rename internal lm_idm_scsi_find_block_directory() function. --- daemons/lvmlockd/lvmlockd-idm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemons/lvmlockd/lvmlockd-idm.c b/daemons/lvmlockd/lvmlockd-idm.c index 1a5818a2a..a36780385 100644 --- a/daemons/lvmlockd/lvmlockd-idm.c +++ b/daemons/lvmlockd/lvmlockd-idm.c @@ -136,7 +136,7 @@ static int lm_idm_scsi_directory_select(const struct dirent *s) return 0; } -static int lm_idm_scsi_find_block_dirctory(const char *block_path) +static int lm_idm_scsi_find_block_directory(const char *block_path) { struct stat stats; @@ -252,7 +252,7 @@ static char *lm_idm_scsi_get_block_device_node(const char *scsi_path) goto fail; } - ret = lm_idm_scsi_find_block_dirctory(blk_path); + ret = lm_idm_scsi_find_block_directory(blk_path); if (ret < 0) { log_error("Fail to find block path %s", blk_path); goto fail; -- 2.43.5