]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ext4: Fix the delalloc writepages to allocate blocks at the right offset.
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Tue, 17 Feb 2009 15:32:21 +0000 (10:32 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 20 Feb 2009 22:40:23 +0000 (14:40 -0800)
commit902d8c85b82763d715cb67504aa593680fad1400
tree6c80e9c3e6e3d3f9bf8f972cf29135f7ab655bc0
parent1b8f5532833fe81ee9a1717d853bbfc5f0bd64f2
ext4: Fix the delalloc writepages to allocate blocks at the right offset.

(cherry picked from commit 791b7f08954869d7b8ff438f3dac3cfb39778297)

When iterating through the pages which have mapped buffer_heads, we
failed to update the b_state value. This results in allocating blocks
at logical offset 0.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/ext4/inode.c