mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-04-25 06:24:05 +08:00
fs_find_mount_point.cpp
This commit is contained in:
parent
66994c58dd
commit
4f85e05d29
@ -31,10 +31,6 @@ fs::find_mount_point(const ghc::filesystem::path &path_)
|
|||||||
rv = fs::lstat(can_path,&initial_st);
|
rv = fs::lstat(can_path,&initial_st);
|
||||||
if(rv == -1)
|
if(rv == -1)
|
||||||
return nonstd::make_unexpected(::_ecerrno())
|
return nonstd::make_unexpected(::_ecerrno())
|
||||||
{
|
|
||||||
ec.assign(errno,std::generic_category());
|
|
||||||
return nonstd::make_unexpected(std::error_code{errno,std::generic_category()});
|
|
||||||
}
|
|
||||||
|
|
||||||
tmp_path = can_path;
|
tmp_path = can_path;
|
||||||
while(tmp_path != tmp_path.root_path())
|
while(tmp_path != tmp_path.root_path())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user