diff options
-rw-r--r-- | bftw.c | 2 | ||||
-rw-r--r-- | mtab.c | 2 | ||||
-rw-r--r-- | mtab.h | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -911,7 +911,7 @@ static bool bftw_need_stat(const struct bftw_state *state) { // need to stat() to get the correct type. We don't need to // check for directories because they can only be mounted over // by other directories. - if (bfs_maybe_mount(state->mtab, ftwbuf->path)) { + if (bfs_might_be_mount(state->mtab, ftwbuf->path)) { return true; } #endif @@ -219,7 +219,7 @@ const char *bfs_fstype(const struct bfs_mtab *mtab, const struct bfs_stat *statb } } -bool bfs_maybe_mount(const struct bfs_mtab *mtab, const char *path) { +bool bfs_might_be_mount(const struct bfs_mtab *mtab, const char *path) { const char *name = xbasename(path); return trie_find_str(&mtab->names, name); } @@ -60,7 +60,7 @@ const char *bfs_fstype(const struct bfs_mtab *mtab, const struct bfs_stat *statb * @return * Whether the named file could be a mount point. */ -bool bfs_maybe_mount(const struct bfs_mtab *mtab, const char *path); +bool bfs_might_be_mount(const struct bfs_mtab *mtab, const char *path); /** * Free a mount table. |