git: sys/vfs/autofs: prevent assert on unmount.

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sun Jan 14 06:52:34 PST 2018


commit 1bfb99b1b153fdeeebc2019ea9c3dd8a73450f00
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sun Jan 14 16:14:46 2018 +0200

    sys/vfs/autofs: prevent assert on unmount.
    
    Bring in below commit from NetBSD/autofs. This hasn't existed in
    FreeBSD and DragonFly. This at least avoids potential panic via
    assertion failure on unmount like PR 3062. Note that the assertion
    in autofs_node_delete() is good. There might be mkdir related bug.
    
    The GitHub link below may not be a valid URL in the future.
    
    http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/fs/autofs/autofs_vfsops.c.diff?r1=1.2&r2=1.3
    (https://github.com/NetBSD/src/commit/59fdd9b6d94c045e89f22f06c9a6f6d6c0fd60f2)

Summary of changes:
 sys/vfs/autofs/autofs_vfsops.c | 5 +++++
 1 file changed, 5 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1bfb99b1b153fdeeebc2019ea9c3dd8a73450f00


-- 
DragonFly BSD source repository


More information about the Commits mailing list