[ARVADOS] updated: 2.1.0-1882-g37c053157

Git user git at public.arvados.org
Sun Feb 6 21:17:46 UTC 2022


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

       via  37c053157cb11792bcb523ac7482a4cba9f5bde4 (commit)
      from  eb1f89d86c0f942c9351ae13b944d3d11f51e35e (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 37c053157cb11792bcb523ac7482a4cba9f5bde4
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Sun Feb 6 16:17:32 2022 -0500

    18719: Check for None
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>

diff --git a/services/fuse/arvados_fuse/fusedir.py b/services/fuse/arvados_fuse/fusedir.py
index 44741410b..2ed6447d1 100644
--- a/services/fuse/arvados_fuse/fusedir.py
+++ b/services/fuse/arvados_fuse/fusedir.py
@@ -342,8 +342,9 @@ class CollectionDirectoryBase(Directory):
                             elif name in self._entries:
                                 self.inodes.invalidate_inode(self._entries[name])
 
-                        self.collection_record_file.invalidate()
-                        self.inodes.invalidate_inode(self.collection_record_file)
+                        if self.collection_record_file is not None:
+                            self.collection_record_file.invalidate()
+                            self.inodes.invalidate_inode(self.collection_record_file)
             finally:
                 while lockcount > 0:
                     self.collection.lock.acquire()

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list