Move DM helpers to separate header.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@530 36d66b0a-2a48-0410-832c-cd162a569da5
This commit is contained in:
Milan Broz
2011-05-24 11:19:12 +00:00
parent 2755f37266
commit 4f657c17a2
4 changed files with 46 additions and 48 deletions

View File

@@ -79,6 +79,9 @@ static char *__lookup_dev(char *path, dev_t dev, int dir_level, const int max_le
return result;
}
/*
* Non-udev systemd need to scan for device here.
*/
static char *lookup_dev_old(const char *dev_id)
{
int major, minor;