Use readlink_mode::unix for (WinFsp) FUSE layer

This commit is contained in:
Marcus Holland-Moritz 2023-06-26 21:08:28 +02:00
parent 759178bbfd
commit 1b1a2b41b4

View File

@ -369,7 +369,7 @@ int op_readlink_common(LogProxy& log_, dwarfs_userdata* userdata,
try {
if (auto entry = find()) {
err = userdata->fs.readlink(*entry, str);
err = userdata->fs.readlink(*entry, str, readlink_mode::unix);
}
} catch (dwarfs::system_error const& e) {
LOG_ERROR << e.what();