mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-11-27 12:03:42 +08:00
Fixed cache creation when mount fails
This commit is contained in:
parent
be365af93b
commit
2fa89952ff
@ -1127,8 +1127,8 @@ ntfs_volume *ntfs_mount(const char *name __attribute__((unused)),
|
||||
int eo = errno;
|
||||
ntfs_device_free(dev);
|
||||
errno = eo;
|
||||
}
|
||||
ntfs_create_lru_caches(vol);
|
||||
} else
|
||||
ntfs_create_lru_caches(vol);
|
||||
return vol;
|
||||
#else
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user