Bug #1112
closedHAMMER:rmdir deletes regular files is not be fiexed
0%
Description
I cvsup the source today.
but rmdir deletes regular files of hammer fs is not be fiexed
$touch one two
$mkdir three
$ll
total 0rw-r--r- 1 lhm wheel 15 Aug 3 15:35 index.phprw-r--r- 1 lhm wheel 0 Aug 7 10:44 one
drwxr-xr-x 1 lhm wheel 0 Aug 6 07:31 src
drwxr-xr-x 1 lhm wheel 0 Aug 7 10:44 threerw-r--r- 1 lhm wheel 0 Aug 7 10:44 two
$rmdir one two three
$ll
total 0rw-r--r- 1 lhm wheel 15 Aug 3 15:35 index.php
drwxr-xr-x 1 lhm wheel 0 Aug 6 07:31 src
$uname -a
DragonFly hummer.org 2.0.0-RELEASE DragonFly 2.0.0-RELEASE #0: Thu Aug
7 10:16:03 CST 2008 lhm@hummer.org:/usr/obj/www/src/sys/LHMWZY
i386
Updated by dillon over 16 years ago
:I cvsup the source today.
:but rmdir deletes regular files of hammer fs is not be fiexed
:
:$touch one two
:$mkdir three
:$ll
:total 0
:-rw-r--r-- 1 lhm wheel 15 Aug 3 15:35 index.php
:-rw-r--r-- 1 lhm wheel 0 Aug 7 10:44 one
:drwxr-xr-x 1 lhm wheel 0 Aug 6 07:31 src
:drwxr-xr-x 1 lhm wheel 0 Aug 7 10:44 three
:-rw-r--r-- 1 lhm wheel 0 Aug 7 10:44 two
:$rmdir one two three
:$ll
:total 0
:-rw-r--r-- 1 lhm wheel 15 Aug 3 15:35 index.php
:drwxr-xr-x 1 lhm wheel 0 Aug 6 07:31 src
:$uname -a
:DragonFly hummer.org 2.0.0-RELEASE DragonFly 2.0.0-RELEASE #0: Thu Aug
: 7 10:16:03 CST 2008 lhm@hummer.org:/usr/obj/www/src/sys/LHMWZY
:i386
Ugh. ok, I'll track it down.
-Matt
Matthew Dillon
<dillon@backplane.com>
Updated by dillon over 16 years ago
I tested the wrong thing. It will be fixed in the next patch set,
which will probably be committed Friday. I found an assertion related
to inode flushing that I need to fix as well.
-Matt
Matthew Dillon
<dillon@backplane.com>