git: ext2fs: release fdvp on rename errors after the source checks

Aaron LI aly at crater.dragonflybsd.org
Fri Oct 23 06:19:05 PDT 2026


commit 4ec0bc16c625590e253c9e8d91e794dc3e125008
Author: David Bidner <david at crap.solutions>
Date:   Thu Oct 22 15:16:54 2026 +0200

    ext2fs: release fdvp on rename errors after the source checks
    
    A rename that fails after the source directory's reference is taken,
    for example ENOTEMPTY or EACCES, returns through bad:/out: labels
    without releasing fdvp, so the filesystem stays busy. FreeBSD releases
    fdvp before those paths; DragonFly's VFS conversion removed that release
    but did not add it to the error paths.
    
    Fix the issue by correctly releasing fdvp in the 'out:' label.
    
    Bug: https://bugs.dragonflybsd.org/issues/3457

Summary of changes:
 sys/vfs/ext2fs/ext2_vnops.c | 1 +
 1 file changed, 1 insertion(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4ec0bc16c625590e253c9e8d91e794dc3e125008


-- 
DragonFly BSD source repository


More information about the Commits mailing list