diff options
-rw-r--r-- | TODO | 2 | ||||
-rwxr-xr-x | src/mfs_vnops.c | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -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) |