This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".

The branch, master has been updated
       via  2d67397b231d1de1af201b38a27fe3b62aaf5359 (commit)
       via  e5ccb010f6fef3e32e9f7e58fce9d106986fa57c (commit)
      from  6b0a0f957aaeb03b011254dcf38d05b90fd121de (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.

- Log -----------------------------------------------------------------
commit 2d67397b231d1de1af201b38a27fe3b62aaf5359
Author: Samuel Thibault <[email protected]>
Date:   Tue Nov 3 00:49:24 2026 +0100

    libnetfs: Harmonize dir-lookup.c with libdiskfs

commit e5ccb010f6fef3e32e9f7e58fce9d106986fa57c
Author: Milos Nikic <[email protected]>
Date:   Sun Nov 1 20:55:04 2026 -0800

    libdiskfs: Unlock the directory once a lookup has found its node
    
    diskfs_S_dir_lookup kept the directory locked after the lookup of each
    name, and unlocked it only before starting a translator.  The exits
    after that went to OUT, which unlocked it again with diskfs_nput: a
    thread holding the directory, such as another lookup in it, lost its
    lock, on any lookup through a translator (under /dev, /servers, ...).
    
    Unlock it once the node is found, and a new one created, as libnetfs's
    dir-lookup does, and from then on only release its reference.  A
    symlink locks it again to look up the next name in it.  The translator
    path no longer unlocks it, nor locks it again when the translator
    vanished.

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

Summary of changes:
 libdiskfs/dir-lookup.c | 46 +++++++++++++++-------------------------------
 libnetfs/dir-lookup.c  | 22 +++++++++++-----------
 2 files changed, 26 insertions(+), 42 deletions(-)


hooks/post-receive
-- 
Hurd

Reply via email to