stat-util: add statx_mount_same() to check if two stax refer to the same mount

This commit is contained in:
Lennart Poettering
2022-09-20 13:52:01 +02:00
parent 2bd315fb2b
commit 52f19d9678
2 changed files with 14 additions and 0 deletions
+1
View File
@@ -74,6 +74,7 @@ bool stat_inode_same(const struct stat *a, const struct stat *b);
bool stat_inode_unmodified(const struct stat *a, const struct stat *b);
bool statx_inode_same(const struct statx *a, const struct statx *b);
bool statx_mount_same(const struct new_statx *a, const struct new_statx *b);
int statx_fallback(int dfd, const char *path, int flags, unsigned mask, struct statx *sx);