DragonFly commits List (threaded) for 2009-02
DragonFly BSD
DragonFly commits List (threaded) for 2009-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

DragonFly-2.3.0.246.g8e0ed master sys/vfs/specfs spec_vnops.c


From: Nicolas Thery <nth@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 21 Feb 2009 10:07:55 -0800 (PST)

commit 8e0ede57151dfffe3d785fc1f3c1e8bcf2c848dc
Author: Nicolas Thery <nthery@gmail.com>
Date:   Sat Feb 21 13:05:27 2009 +0100

    Potential fix for panic during shutdown.
    
    When a tty is revoked, the opencount of its associated vnode is forced to
    zero and calling vop_stdclose() on this vnode causes a panic.  Call therefore
    vop_stdclose() from spec_close() if and only if the opencount is strictly
    positive.
    
    I haven't managed to reproduce the original panic locally, hence the
    "potential" above.
    
    Reported-by: Thomas Nikolajsen <thomas.nikolajsen@mail.dk>
    Dragonfly-bug: <http://bugs.dragonflybsd.org/issue715>

Summary of changes:
 sys/vfs/specfs/spec_vnops.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8e0ede57151dfffe3d785fc1f3c1e8bcf2c848dc


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]