Thread (11 messages) 11 messages, 2 authors, 2021-10-21

Re: [RFC PATCH 1/3] ext4: check for out-of-order index extents in ext4_valid_extent_entries()

From: "Theodore Ts'o" <tytso@mit.edu>
Date: 2021-10-07 16:44:40

On Wed, Sep 08, 2021 at 08:08:48PM +0800, Zhang Yi wrote:
After commit 5946d089379a ("ext4: check for overlapping extents in
ext4_valid_extent_entries()"), we can check out the overlapping extent
entry in leaf extent blocks. But the out-of-order extent entry in index
extent blocks could also trigger bad things if the filesystem is
inconsistent. So this patch add a check to figure out the out-of-order
index extents and return error.

Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Looks good,

Reviewed-by: Theodore Ts'o <tytso@mit.edu>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help