Re: 2.5 changeset 1.952.4.2 corrupt in fs/jfs/inode.c

Andrew Morton
2003-02-05T18:13:14Z

Andrea Arcangeli <andrea@suse.de> wrote:
>
> void jfs_truncate(struct inode *ip)
> {
> - jFYI(1, ("jfs_truncate: size = 0x%lx\n", (ulong) ip->i_size));
> + jfs_info("jfs_truncate: size = 0x%lx", (ulong) ip->i_size);
>
> nobh_truncate_page(ip->i_mapping, ip->i_size);
> ^^^^^^^^^^^^^^^^^^

This is the correct version. Since 2.5.59, jfs was switched over to not use
buffer_heads.