Re: [PATCH] ext4: use ext4_ext_get_actual_len instead of directly using ext4_extent.ee_len

2008-01-14 Thread Aneesh Kumar K.V
On Sat, Jan 12, 2008 at 11:44:00PM +0530, Aneesh Kumar K.V wrote: fs/ext4/extents.c | 26 ++ 1 files changed, 14 insertions(+), 12 deletions(-) diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index 81bce98..4269cc6 100644 --- a/fs/ext4/extents.c +++

[PATCH] ext4: use ext4_ext_get_actual_len instead of directly using ext4_extent.ee_len

2008-01-12 Thread Aneesh Kumar K.V
ext4 use the extent len for encoding whether the extent is intialized or not. The helper function ext4_ext_get_actual_len should be used to get the actual length of the extent. Fix the below kernel BUG http://bugzilla.kernel.org/show_bug.cgi?id=9732 kernel BUG at fs/ext4/extents.c:1056!