NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/47987: Issues with removing directories in UDF
>Number: 47987
>Category: kern
>Synopsis: Issues with removing directories in UDF
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jul 03 10:50:00 +0000 2013
>Originator: Reinoud Zandijk
>Release: NetBSD 6.99.23
>Organization:
NetBSD
>Environment:
>Description:
The t_vnops/udf_nor_notempty and the t_vnops/udf_dir_rmdirdotdot fail.
----
Test case: fs/vfs/t_vnops/udf_dir_notempty
Duration: 0.920299 seconds
Termination reason
FAILED: non-empty directory removed succesfully
Standard output stream
Test case: fs/vfs/t_vnops/udf_dir_rmdirdotdot
Duration: 0.912503 seconds
Termination reason
FAILED:
/tmp/bracket/build/2013.07.02.22.39.45-amd64/src/tests/fs/vfs/t_vnops.c:181:
Expected errno 2, got 22, in rump_sys_chdir("..") == -1
Standard output stream
----
>How-To-Repeat:
Run the tests
>Fix:
The rmdir '..' case ought to be trivial to fix, the other needs some
attention. It turns out that the reference count udf is using there is only
counting references TO the directory and not, as abusively is presumed, the
number of files too.
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index