summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO2
-rwxr-xr-xsrc/mfs_vnops.c6
2 files changed, 6 insertions, 2 deletions
diff --git a/TODO b/TODO
index 2f8f610..5bfaa85 100644
--- a/TODO
+++ b/TODO
@@ -2,7 +2,7 @@
v. 0.1
~~~~~~
-* BUG: fsync errors with /.config
+* Done? :-)
v. 0.2(?)
~~~~~~~~~
diff --git a/src/mfs_vnops.c b/src/mfs_vnops.c
index eeef2c6..a144576 100755
--- a/src/mfs_vnops.c
+++ b/src/mfs_vnops.c
@@ -257,8 +257,12 @@ static int mfs_fsync(const char *path, int datasync,
struct fuse_file_info *fi)
{
int fd;
-
DEBUG("fsync path %s\n", path);
+
+ if (strcmp(path, "/.config") == 0) {
+ return (0);
+ }
+
fd = (int)fi->fh;
/* Fd is not valid, return fsync error. */
if (fd < 0)