Bug 40512
Summary: | EXT4_IOC_MIGRATE is dangerous on directories | ||
---|---|---|---|
Product: | File System | Reporter: | Benjamin Peterson (benjamin) |
Component: | ext4 | Assignee: | fs_ext4 (fs_ext4) |
Status: | RESOLVED CODE_FIX | ||
Severity: | high | CC: | tm |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.39 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Benjamin Peterson
2011-08-04 01:50:58 UTC
Tested with 3.0, and it works here. git log shows that a possible fix should be 74e4e6db3 which is included in 3.0. One thing you could confirm is to run: debugfs 'stat dir' /dev/sdx to see whether the EXTENTS flags is set or not. If it isn't set, it should be the root cause. When I ran e2fsck on the partition, it reported EXTENTS_FL was not set. Indeed, it is now fixed. Thanks. |