aboutsummaryrefslogtreecommitdiffstats
path: root/src/bindfs.c
diff options
context:
space:
mode:
authorMartin Pärtel <martin.partel@gmail.com>2012-07-15 12:02:22 +0300
committerMartin Pärtel <martin.partel@gmail.com>2012-07-15 12:02:22 +0300
commitfc2b0700db2ed37ca1f5cbd519e6211f62ed121d (patch)
tree0de078d861ea3b565a4fd4f0f7b55280d868e61b /src/bindfs.c
parent1f80bea6ae0937cb91c0fc90b2196bf921552b99 (diff)
downloadbindfs-fc2b0700db2ed37ca1f5cbd519e6211f62ed121d.tar.gz
process_path in readdir
Diffstat (limited to 'src/bindfs.c')
-rw-r--r--src/bindfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bindfs.c b/src/bindfs.c
index 401a0ae..34067eb 100644
--- a/src/bindfs.c
+++ b/src/bindfs.c
@@ -410,6 +410,8 @@ static int bindfs_readdir(const char *path, void *buf, fuse_fill_dir_t filler,
int result = 0;
long pc_ret;
+ path = process_path(path);
+
pc_ret = pathconf(path, _PC_NAME_MAX);
if (pc_ret < 0) {
DPRINTF("pathconf failed: %s (%d)", strerror(errno), errno);