nodefs: fsconnector: add lookupLock: prevent concurrent LOOKUP and FORGET
Add a lock that prevents LOOKUP and FORGET from running concurrently. Locking at this level is a big hammer, but makes sure we don't return forgotten nodes to the kernel. Problems solved by this lock: https://github.com/hanwen/go-fuse/issues/168 https://github.com/rfjakob/gocryptfs/issues/322
Showing
Please register or sign in to comment