mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-05 06:10:10 -05:00
use stat/2 rather than statvfs/2 to find file drive
This commit is contained in:
parent
476a8a50ea
commit
792c9b9808
2 changed files with 18 additions and 12 deletions
|
|
@ -31,4 +31,9 @@
|
|||
#define LSTAT_FAIL -1
|
||||
#define LSTAT_FAILED(RV) ((RV) == LSTAT_FAIL)
|
||||
|
||||
#define FSTAT_SUCCESS 0
|
||||
#define FSTAT_SUCCEEDED(RV) ((RV) == FSTAT_SUCCESS)
|
||||
#define FSTAT_FAIL -1
|
||||
#define FSTAT_FAILED(RV) ((RV) == FSTAT_FAIL)
|
||||
|
||||
#endif /*__MERGERFS_SUCCESS_FAIL_HPP__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue