The patch titled ufs2: tindirect truncate fix has been added to the -mm tree. Its filename is ufs2-tindirect-truncate-fix.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: ufs2: tindirect truncate fix From: Evgeniy Dushistov <dushistov@xxxxxxx> During modification of code to support UFS2 writing, the case with "three indirect" blocks in truncate path was missed, this patch fixes this situation. Signed-off-by: Evgeniy Dushistov <dushistov@xxxxxxx> Acked-by: Christoph Hellwig <hch@xxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/ufs/truncate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/ufs/truncate.c~ufs2-tindirect-truncate-fix fs/ufs/truncate.c --- a/fs/ufs/truncate.c~ufs2-tindirect-truncate-fix +++ a/fs/ufs/truncate.c @@ -348,7 +348,7 @@ static int ufs_trunc_tindirect(struct in } for (i = tindirect_block ; i < uspi->s_apb ; i++) { - tind = ubh_get_addr32 (tind_bh, i); + tind = ubh_get_data_ptr(uspi, tind_bh, i); retry |= ufs_trunc_dindirect(inode, UFS_NDADDR + uspi->s_apb + ((i + 1) << uspi->s_2apbshift), tind); ubh_mark_buffer_dirty(tind_bh); _ Patches currently in -mm which might be from dushistov@xxxxxxx are ufs2-more-correct-work-with-time.patch ufs-prepare-write-change-blocks-on-the-fly.patch ufs-zeroize-the-rest-of-block-in-truncate.patch ufs2-tindirect-truncate-fix.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html