mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
cleanup: typo dirctory to directory
Rename internal lm_idm_scsi_find_block_directory() function.
This commit is contained in:
parent
6a8ba51d82
commit
643bc26595
@ -136,7 +136,7 @@ static int lm_idm_scsi_directory_select(const struct dirent *s)
|
|||||||
return 0;
|
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;
|
struct stat stats;
|
||||||
|
|
||||||
@ -252,7 +252,7 @@ static char *lm_idm_scsi_get_block_device_node(const char *scsi_path)
|
|||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = lm_idm_scsi_find_block_dirctory(blk_path);
|
ret = lm_idm_scsi_find_block_directory(blk_path);
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
log_error("Fail to find block path %s", blk_path);
|
log_error("Fail to find block path %s", blk_path);
|
||||||
goto fail;
|
goto fail;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user