Add comment about calling only after normalizing path
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
This commit is contained in:
parent
636e083e22
commit
5f5c150c30
@ -630,6 +630,7 @@ static bool is_dev_link_whitelisted(const char* path)
|
||||
return false;
|
||||
}
|
||||
|
||||
/* Call this only AFTER normalizing path */
|
||||
static int _is_by_id_path(const char* dev_path)
|
||||
{
|
||||
static const char dev_by_id_dir[] = "/dev/disk/by-id";
|
||||
|
Loading…
Reference in New Issue
Block a user