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 4a3b2d4bd4c0b2d55b5fbcbeed74a528c8572bc3 (commit)
from e7619d1947f6399813215ca400d71b21d7f76d4b (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 4a3b2d4bd4c0b2d55b5fbcbeed74a528c8572bc3
Author: Milos Nikic <[email protected]>
Date: Sun Nov 1 21:35:04 2026 -0800
ext2fs: Keep the directory when a lookup of its parent fails
A lookup of ".." with SPEC_DOTDOT and LOOKUP releases the directory
only when it succeeds; its callers, checkpath and ancestors in
diskfs_rename_dir, release it themselves otherwise. diskfs_lookup_hard
released it before diskfs_cached_lookup of the parent, so when that
failed the directory was unlocked and dereferenced twice.
Only unlock it for the lookup, lock it again if the lookup fails, and
release the caller's reference once it succeeds. Say so in diskfs.h,
for diskfs_lookup_hard and diskfs_lookup.
-----------------------------------------------------------------------
Summary of changes:
ext2fs/dir.c | 9 +++++++--
libdiskfs/diskfs.h | 10 ++++++----
2 files changed, 13 insertions(+), 6 deletions(-)
hooks/post-receive
--
Hurd