git: ufs: 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 a876e25b5d679a92e96e71d2c94d1ab24c843fe2
Author: David Bidner <david at crap.solutions>
Date:   Thu Oct 22 16:42:24 2026 +0200

    ufs: 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/ufs/ufs_vnops.c | 1 +
 1 file changed, 1 insertion(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a876e25b5d679a92e96e71d2c94d1ab24c843fe2


-- 
DragonFly BSD source repository


More information about the Commits mailing list