git: kernel - TMPFS - Stabilization pass, fix assertion in nrmdir

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Feb 21 10:37:17 PST 2010


commit 38e5e60484f827fe6e856e8f0e00d476f4044bcd
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Feb 21 08:41:15 2010 -0800

    kernel - TMPFS - Stabilization pass, fix assertion in nrmdir
    
    * Have tmpfs_nrmdir() test whether the vp is a directory and return
      the proper error before asserting that it is a directory.
    
    * Fixes assertion panic if you attempt to rmdir a file in tmpfs.

Summary of changes:
 sys/vfs/tmpfs/tmpfs_vnops.c |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/38e5e60484f827fe6e856e8f0e00d476f4044bcd


-- 
DragonFly BSD source repository





More information about the Commits mailing list