From b052a1a1b894c4bcd9b4e70dfceb70e340bbb781 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Wed, 28 Jun 2006 14:51:20 +0000 Subject: file locking --- lib/fuse.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/fuse.c') diff --git a/lib/fuse.c b/lib/fuse.c index cfedc28..2fc6fa4 100644 --- a/lib/fuse.c +++ b/lib/fuse.c @@ -1306,12 +1306,13 @@ static void fuse_write(fuse_req_t req, fuse_ino_t ino, const char *buf, } static void fuse_flush(fuse_req_t req, fuse_ino_t ino, - struct fuse_file_info *fi) + struct fuse_file_info *fi, uint64_t owner) { struct fuse *f = req_fuse_prepare(req); char *path; int err; + (void) owner; err = -ENOENT; pthread_rwlock_rdlock(&f->tree_lock); path = get_path(f, ino); -- cgit v1.2.3