summaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_sil24.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2008-08-02 18:51:32 -0400
committerTheodore Ts'o <tytso@mit.edu>2008-08-02 18:51:32 -0400
commitd03856bd5e5abac717da137dc60fe4a691769bd0 (patch)
tree7de3649a2b48e36744aae72d5905bede2e28b6ca /drivers/ata/sata_sil24.c
parent6e86841d05f371b5b9b86ce76c02aaee83352298 (diff)
ext4: Fix data corruption when writing to prealloc area
Inserting an extent can cause a new entry in the already existing index block. That doesn't increase the depth of the instead. Instead it adds a new leaf block. Now with the new leaf block the path information corresponding to the logical block should be fetched from the new block. The old path will be pointing to the old leaf block. We need to recalucate the path information on extent insert even if depth doesn't change. Without this change, the extent merge after converting an unwritten extent to initialized extent takes the wrong extent and cause data 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 'drivers/ata/sata_sil24.c')
0 files changed, 0 insertions, 0 deletions