|
@@ -820,7 +820,7 @@ int ext3_get_blocks_handle(handle_t *handle, struct inode *inode,
|
|
while (count < maxblocks && count <= blocks_to_boundary) {
|
|
while (count < maxblocks && count <= blocks_to_boundary) {
|
|
ext3_fsblk_t blk;
|
|
ext3_fsblk_t blk;
|
|
|
|
|
|
- if (!verify_chain(chain, partial)) {
|
|
|
|
|
|
+ if (!verify_chain(chain, chain + depth - 1)) {
|
|
/*
|
|
/*
|
|
* Indirect block might be removed by
|
|
* Indirect block might be removed by
|
|
* truncate while we were reading it.
|
|
* truncate while we were reading it.
|