[Bug 276408] panic: Assertion error == EJUSTRETURN failed at msdosfs_vnops.c:1195

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 18 Jan 2024 16:48:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276408

--- Comment #4 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=be0df84849ff3e8fb5ec65176ffde88dbefdc434

commit be0df84849ff3e8fb5ec65176ffde88dbefdc434
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-01-17 22:55:05 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-01-18 16:48:05 +0000

    msdosfs_rename(): handle errors from msdosfs_lookup_ino()

    Properly working storage and correct filesystem structure indeed only
    allow the EJUSTRETURN return code, but since the called function needs
    to read directory blocks and (re)parse the content, the assert is not
    neccessary hold.

    PR:     276408
    Reported by:    John F. Carr
    Reviewed by:    markj
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D43482

 sys/fs/msdosfs/msdosfs_vnops.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.