mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-02 04:46:41 -05:00
use stat.st_dev to uniquely identify mounts for statfs. closes #213
This commit is contained in:
parent
eed2bbf913
commit
f3e75a0544
2 changed files with 44 additions and 54 deletions
|
|
@ -18,6 +18,8 @@
|
|||
|
||||
#define STATVFS_SUCCESS 0
|
||||
#define STATVFS_SUCCEEDED(RV) ((RV) == STATVFS_SUCCESS)
|
||||
#define STATVFS_FAIL -1
|
||||
#define STATVFS_FAILED(RV) ((RV) == STATVFS_FAIL)
|
||||
|
||||
#define STAT_SUCCESS 0
|
||||
#define STAT_SUCCEEDED(RV) ((RV) == STAT_SUCCESS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue