|
@@ -1251,10 +1251,8 @@ static void __ufs_truncate_blocks(struct inode *inode)
|
|
}
|
|
}
|
|
p = ubh_get_data_ptr(uspi, ubh[i], offsets[i + 1]);
|
|
p = ubh_get_data_ptr(uspi, ubh[i], offsets[i + 1]);
|
|
}
|
|
}
|
|
- while (i--) {
|
|
|
|
- ubh_mark_buffer_dirty(ubh[i]);
|
|
|
|
|
|
+ while (i--)
|
|
free_branch_tail(inode, offsets[i + 1], ubh[i], depth - i - 1);
|
|
free_branch_tail(inode, offsets[i + 1], ubh[i], depth - i - 1);
|
|
- }
|
|
|
|
}
|
|
}
|
|
for (i = offsets[0]; i <= UFS_TIND_BLOCK; i++) {
|
|
for (i = offsets[0]; i <= UFS_TIND_BLOCK; i++) {
|
|
p = ufs_get_direct_data_ptr(uspi, ufsi, i);
|
|
p = ufs_get_direct_data_ptr(uspi, ufsi, i);
|