[DragonFlyBSD - Bug #3457] (New) ext2fs and UFS: rename that fails after the source reference is taken leaves the filesystem busy
sigttou
bugtracker-admin at leaf.dragonflybsd.org
Thu Oct 22 10:56:46 PDT 2026
Issue #3457 has been reported by sigttou.
----------------------------------------
Bug #3457: ext2fs and UFS: rename that fails after the source reference is taken leaves the filesystem busy
http://bugs.dragonflybsd.org/issues/3457
* Author: sigttou
* Status: New
* Priority: Normal
* Category: Kernel
* Target version: 6.6
* Start date: 2026-10-22
----------------------------------------
@rename(2)@ that fails in @ext2_rename()@ or @ufs_rename()@ after the source directory is referenced (@ENOTEMPTY@, or @EACCES@ on the source directory) returns through bad:/out: without releasing @fdvp at . The mount then stays busy:
mkdir a b; touch b/k; mv a b (errno 66)
umount: Device busy; vnconfig -u: busy; umount -f recovers
FreeBSD releases @fdvp@ before these paths. The VFS conversion removed that release but did not add one to the error paths.
---Files--------------------------------
ext2-0001-ext2fs-release-fdvp-on-rename-errors-after-the-sourc.patch (1.04 KB)
ufs-0001-ufs-release-fdvp-on-rename-errors-after-the-source-c.patch (1.04 KB)
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
More information about the Bugs
mailing list