Project

General

Profile

Actions

Bug #1112

closed

HAMMER:rmdir deletes regular files is not be fiexed

Added by lhmwzy over 15 years ago. Updated over 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

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

Actions #1

Updated by dillon over 15 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
<>
Actions #2

Updated by dillon over 15 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
<>
Actions #3

Updated by hasso over 15 years ago

Fixed in CVS.

Actions

Also available in: Atom PDF