summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorSylvestre Gallon <syl@cvs.openbsd.org>2014-01-20 15:26:53 +0000
committerSylvestre Gallon <syl@cvs.openbsd.org>2014-01-20 15:26:53 +0000
commit4ad7a63517f62ab90e5888438519b2092b47c7ae (patch)
tree806a79623c4efc00e2cb3fe5acfc1a97da0c0b15 /sys
parentb50f9a9f1f118d23b3554ee3fd72146e9ee22aff (diff)
Do not complain if release is not implemented in fuse client.
ok millert@.
Diffstat (limited to 'sys')
-rw-r--r--sys/miscfs/fuse/fuse_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/miscfs/fuse/fuse_file.c b/sys/miscfs/fuse/fuse_file.c
index ffee977f079..f91696ffd77 100644
--- a/sys/miscfs/fuse/fuse_file.c
+++ b/sys/miscfs/fuse/fuse_file.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fuse_file.c,v 1.6 2013/12/03 09:32:23 syl Exp $ */
+/* $OpenBSD: fuse_file.c,v 1.7 2014/01/20 15:26:52 syl Exp $ */
/*
* Copyright (c) 2012-2013 Sylvestre Gallon <ccna.syl@gmail.com>
*
@@ -64,7 +64,7 @@ fusefs_file_close(struct fusefs_mnt *fmp, struct fusefs_node * ip,
fbuf->fb_io_flags = flags;
error = fb_queue(fmp->dev, fbuf);
- if (error)
+ if (error && (error != ENOSYS))
printf("fusefs: file error %d\n", error);
fb_delete(fbuf);