mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-31 16:37:07 +00:00
tools: acrn-crashlog: New apis to replace debugfs
This patch impletement apis with libext2fs, which are for dumping and reading files or dirs in extfs. Signed-off-by: Liu, Xinwu <xinwu.liu@intel.com> Acked-by: Chen Gang <gang.c.chen@intel.com>
This commit is contained in:
@@ -50,7 +50,7 @@ static inline int file_exists(const char *filename)
|
||||
return (stat(filename, &info) == 0);
|
||||
}
|
||||
|
||||
static inline int directory_exists(char *path)
|
||||
static inline int directory_exists(const char *path)
|
||||
{
|
||||
struct stat info;
|
||||
|
||||
|
Reference in New Issue
Block a user