mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-06-06 18:54:36 +08:00
fs_find_mount_point.cpp
This commit is contained in:
@ -24,11 +24,6 @@ fs::find_mount_point(const ghc::filesystem::path &path_)
|
|||||||
rv = fs::lstat(tmp_path.parent_path(),&tmp_st);
|
rv = fs::lstat(tmp_path.parent_path(),&tmp_st);
|
||||||
if(rv == -1)
|
if(rv == -1)
|
||||||
return {};
|
return {};
|
||||||
printf("%d:%s %d:%s\n",
|
|
||||||
tmp_st.st_dev,
|
|
||||||
tmp_path.parent_path().string().c_str(),
|
|
||||||
initial_st.st_dev,
|
|
||||||
can_path.string().c_str());
|
|
||||||
if(tmp_st.st_dev != initial_st.st_dev)
|
if(tmp_st.st_dev != initial_st.st_dev)
|
||||||
return tmp_path;
|
return tmp_path;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user