]> git.baikalelectronics.ru Git - kernel.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, 6 Jan 2009 02:50:43 +0000 (21:50 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 6 Jan 2009 02:50:43 +0000 (21:50 -0500)
commit33f792bbfc23aaa4d25115336d4034bf8c46a4aa
tree9e5e9414e6b102940dea0f6c3103fee7fcc0df1d
parent42239d0217ec60fe4ce87b19bbf70126f7053327
ext4: Fix the delalloc writepages to allocate blocks at the right offset.

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>
Cc: stable@kernel.org
fs/ext4/inode.c