summaryrefslogtreecommitdiff
path: root/fs/ext4/file.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2008-04-29 22:03:59 -0400
committerTheodore Ts'o <tytso@mit.edu>2008-04-29 22:03:59 -0400
commit161e7b7c1d24112d188df9a7b30d468a8d135b96 (patch)
treebac6cea21f4a3bb96b8d16660ec9a503427c01a8 /fs/ext4/file.c
parent1a89734d4057066344356e9c7e13b6379497aebe (diff)
ext4: Cache the correct extent length for uninit extents
When we convert an uninitialized extent to an initialized extent we need to make sure we return the number of blocks in the extent from the file system block corresponding to logical file block. Otherwise we cache wrong extent details and this results in file system corruption. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Mingming Cao <cmm@us.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/file.c')
0 files changed, 0 insertions, 0 deletions