[Bug 257522] msdosfs rename(2) deadlock

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 27 Aug 2021 15:41:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257522

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

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

commit 95d42526e92cb2a9842d71d3c585aabf32da7534
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2021-08-01 17:46:59 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-08-27 15:39:45 +0000

    msdosfs: fix rename

    Use the same locking algorithm for msdosfs_rename() as used by
ufs_rename().
    Convert doscheckpath() to non-sleeping version.

    Reported by:    trasz
    PR:     257522
    In collaboration with:  pho
    Reviewed by:    mckusick
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D31464

 sys/fs/msdosfs/denode.h         |   5 +-
 sys/fs/msdosfs/msdosfs_denode.c |   1 +
 sys/fs/msdosfs/msdosfs_lookup.c |  79 ++++----
 sys/fs/msdosfs/msdosfs_vnops.c  | 430 +++++++++++++++++++++-------------------
 4 files changed, 274 insertions(+), 241 deletions(-)

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