[ARVADOS] updated: aedb62c77a43e10dbeddd0a0fb428f42c4b61ce4

Git user git at public.curoverse.com
Wed Feb 22 16:28:36 EST 2017


Summary of changes:
 services/fuse/arvados_fuse/__init__.py | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

       via  aedb62c77a43e10dbeddd0a0fb428f42c4b61ce4 (commit)
      from  fe85406fbaec9952cba8350711366d95e05f869f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit aedb62c77a43e10dbeddd0a0fb428f42c4b61ce4
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Wed Feb 22 16:28:22 2017 -0500

    10629: Don't flush dirhandles.

diff --git a/services/fuse/arvados_fuse/__init__.py b/services/fuse/arvados_fuse/__init__.py
index b12a7d1..79cc296 100644
--- a/services/fuse/arvados_fuse/__init__.py
+++ b/services/fuse/arvados_fuse/__init__.py
@@ -105,14 +105,16 @@ class Handle(object):
         self.obj.dec_use()
 
     def flush(self):
-        if self.obj.writable():
-            return self.obj.flush()
+        pass
 
 
 class FileHandle(Handle):
     """Connects a numeric file handle to a File  object that has
     been opened by the client."""
-    pass
+
+    def flush(self):
+        if self.obj.writable():
+            return self.obj.flush()
 
 
 class DirectoryHandle(Handle):

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list