From 2f4cb2d41142d1e4c992fcf96be9c8adc011b041 Mon Sep 17 00:00:00 2001 From: Philip Langdale Date: Sat, 31 Mar 2012 10:09:55 -0700 Subject: [PATCH] Remove unneeded flush hook. --- src/pifs.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/pifs.c b/src/pifs.c index 2caf3d6..e031932 100644 --- a/src/pifs.c +++ b/src/pifs.c @@ -155,11 +155,6 @@ static int pifs_statfs(const char *path, struct statvfs *buf) return ret == -1 ? -errno : ret; } -static int pifs_flush(const char *path, struct fuse_file_info *info) -{ - return 0; -} - static int pifs_release(const char *path, struct fuse_file_info *info) { int ret = close(info->fh); @@ -320,7 +315,6 @@ static struct fuse_operations pifs_ops = { .read = pifs_read, .write = pifs_write, .statfs = pifs_statfs, - .flush = pifs_flush, .release = pifs_release, .fsync = pifs_fsync, .setxattr = pifs_setxattr,