Thread (2 messages) 2 messages, 2 authors, 2011-11-26

Re: [PATCH] e2fsck: Fix the wrong error detection for non-extent file

From: Ted Ts'o <tytso@mit.edu>
Date: 2011-11-26 02:31:34

On Fri, Nov 25, 2011 at 04:26:52PM +0900, Kazuya Mio wrote:
When I create a non-extent file with the maximum size in ext4,
e2fsck detects the following error:

Pass 1: Checking inodes, blocks, and sizes
Inode 12, i_size is 4402345721856, should be 4402345721856. Fix?

As we know, e2fsck checks the size field of the inode in pass 1.
However, in case of the ext4 with the feature of ^extent and huge_file,
the maximum file size calculated in e2fsck is less than the real one.
The patch fixes this problem.

Signed-off-by: Kazuya Mio <redacted>
Thanks, applied.

					- Ted
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help