The branch stable/15 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=28abe46c4b0fa9c19839370ce8e903b001f01191
commit 28abe46c4b0fa9c19839370ce8e903b001f01191 Author: Konstantin Belousov <[email protected]> AuthorDate: 2026-07-01 01:14:45 +0000 Commit: Konstantin Belousov <[email protected]> CommitDate: 2026-07-10 02:26:53 +0000 ffs: do not return ESTALE on attempt to ffs_unotovp() on unlinked inode (cherry picked from commit c041b82c59e885d106f45454302bad3d9dcc58a7) --- sys/ufs/ffs/ffs_vfsops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c index e3f9270c2f49..76007d448536 100644 --- a/sys/ufs/ffs/ffs_vfsops.c +++ b/sys/ufs/ffs/ffs_vfsops.c @@ -1962,7 +1962,7 @@ ffs_inotovp(struct mount *mp, return (ESTALE); ip = VTOI(nvp); - if (ip->i_mode == 0 || ip->i_gen != gen || ip->i_effnlink <= 0) { + if (ip->i_mode == 0 || ip->i_gen != gen) { if (ip->i_mode == 0) vgone(nvp); vput(nvp);
