git: kernel - TMPFS - Stabilization pass, fix assertion in nrmdi
commit 38e5e60484f827fe6e856e8f0e00d476f4044bcd
Author: Matthew Dillon <dillon@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
討論串 (同標題文章)
完整討論串 (本文為第 1 之 2 篇):