Bug 11756

Summary: Incorrect file remove from ext4
Product: File System Reporter: Ravadics Csaba (rvcsaba)
Component: ext4Assignee: fs_ext4 (fs_ext4)
Status: CLOSED CODE_FIX    
Severity: normal    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.27 Subsystem:
Regression: Yes Bisected commit-id:
Attachments: Kernel .config file

Description Ravadics Csaba 2008-10-13 17:37:47 UTC
Latest working kernel version: 2.6.26.5

Earliest failing kernel version: 2.6.27

Distribution: Fedora 9

Hardware Environment: AMD Phenom(tm) 9550 Quad-Core Processor, 2 GiB RAM, MSI K9A2 CF motherboard, WDC WD5000AAKS-0 HDD

Software Environment: mc-4.6.2-3.pre1.fc9.x86_64, bash-3.2-22.fc9.x86_64

Problem Description: mc don't remove recursively from ext4dev

Steps to reproduce:

1) Login root
2) Start mc
3) Decompress kernel source (for example: linux-2.6.26.6) to ext4 (for example target dir: /root or /usr/src)
4) Change dir
5) Select linux-2.6.26.6
6) Press F8 (delete) key
7) Delete directory "linux-2.6.26.6"? Yes
8) Directory not empty. Delete it recursively? All
9) echo linux*
linux-2.6.26.6

Directory not removed.

kernel version            fs          status
---------------        ---------     --------
2.6.26.5                ext3            OK
2.6.26.5                ext4dev         OK
2.6.27                  ext3            OK
2.6.27                  ext4dev       FAILED
Comment 1 Ravadics Csaba 2008-10-16 16:51:37 UTC
2.6.27.1                ext3            OK
2.6.27.1                ext4dev       FAILED
Comment 2 Ravadics Csaba 2008-10-16 16:57:04 UTC
Created attachment 18344 [details]
Kernel .config file
Comment 3 Ravadics Csaba 2008-10-18 17:01:59 UTC
2.6.27.2                ext3            OK
2.6.27.2                ext4dev       FAILED
Comment 4 Ravadics Csaba 2008-10-26 05:46:50 UTC
2.6.27.4                ext3            OK
2.6.27.4                ext4dev       FAILED
Comment 5 Theodore Tso 2008-11-06 12:50:31 UTC
This bug is fixed in 2.6.28-rc2, commit ID 3c37fc86d20
Comment 6 Ravadics Csaba 2008-11-10 02:49:43 UTC
OK, thank you... but 2.6.27 patch?