lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 22 Oct 2008 11:32:01 +0200
From:	Markus Trippelsdorf <markus@...ppelsdorf.de>
To:	linux-kernel@...r.kernel.org, eugene@...ix.com, msnitzer@...ix.com,
	tytso@....edu, akpm@...ux-foundation.org,
	torvalds@...ux-foundation.org
Subject: ext3: fix ext3_dx_readdir hash collision handling - Regression

Commit 6a897cf447a83c9c3fd1b85a1e525c02d6eada7d 
"ext3: fix ext3_dx_readdir hash collision handling" causes a regression
when deleting big directories.

I'm using an ext3 filesystem in data=writeback mode as my root fs.
When I untar a kernel tarball and then rm -r the files, this is what
happens on my machine (latest git):

markus@...toox2 ~ % tar xjf  linux-2.6.27.2.tar.bz2
markus@...toox2 ~ % rm -r linux-2.6.27.2
rm: cannot remove `linux-2.6.27.2/arch/alpha/include/asm/statfs.h': No such file or directory
rm: cannot remove `linux-2.6.27.2/arch/m68knommu/include/asm/cputime.h': No such file or directory
rm: cannot remove `linux-2.6.27.2/arch/sparc/include/asm/highmem.h': No such file or directory
rm: cannot remove `linux-2.6.27.2/arch/sparc/include/asm/sections_32.h': No such file or directory
rm: cannot remove `linux-2.6.27.2/arch/s390/include/asm/io.h': No such file or directory
rm: cannot remove `linux-2.6.27.2/arch/arm/configs/pcm038_defconfig': No such file or directory
rm: cannot remove `linux-2.6.27.2/arch/powerpc/include/asm/pgtable-ppc32.h': No such file or directory
rm: cannot remove `linux-2.6.27.2/include/asm-um/linkage.h': No such file or directory
rm: cannot remove `linux-2.6.27.2/include/asm-m68k/cachectl.h': No such file or directory
markus@...toox2 ~ % rm -r linux-2.6.27.2
markus@...toox2 ~ % 

After reverting 6a897cf447a83c9c3fd1b85a1e525c02d6eada7d I get the
expected result:

markus@...toox2 ~ % tar xjf  linux-2.6.27.2.tar.bz2
markus@...toox2 ~ % rm -r linux-2.6.27.2
markus@...toox2 ~ % 

-- 
Markus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ