summaryrefslogtreecommitdiff
path: root/pgfuse.c
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-04-26 12:03:14 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-04-26 12:03:14 +0200
commit9ea71bed1a0801b353266e7286b6ba3140aa4f87 (patch)
tree873c4a439134248a671fd9a98b702212a1ecfaa3 /pgfuse.c
parentdc9bd214c6bcfae631a19ff4b56bb25a6a4b41b0 (diff)
downloadpgfuse-9ea71bed1a0801b353266e7286b6ba3140aa4f87.tar.gz
pgfuse-9ea71bed1a0801b353266e7286b6ba3140aa4f87.tar.bz2
fixed directory renames
Diffstat (limited to 'pgfuse.c')
-rw-r--r--pgfuse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pgfuse.c b/pgfuse.c
index 10fe80b..fe137fa 100644
--- a/pgfuse.c
+++ b/pgfuse.c
@@ -1197,8 +1197,7 @@ static int pgfuse_rename( const char *from, const char *to )
}
/* TODO: enable also those cases later */
- if( S_ISDIR( from_meta.mode ) ||
- S_ISLNK( from_meta.mode ) ) {
+ if( S_ISLNK( from_meta.mode ) ) {
return -EINVAL;
}