Bug #1112

HAMMER:rmdir deletes regular files is not be fiexed

Added by lhmwzy about 6 years ago. Updated about 6 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

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 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 :/usr/obj/www/src/sys/LHMWZY
i386

History

#1 Updated by dillon about 6 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 :/usr/obj/www/src/sys/LHMWZY
:i386

Ugh. ok, I'll track it down.

-Matt
Matthew Dillon
<>

#2 Updated by dillon about 6 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
<>

#3 Updated by hasso about 6 years ago

Fixed in CVS.

Also available in: Atom PDF