ocfs2: reverse inline-data truncate args
authorMark Fasheh <mark.fasheh@oracle.com>
Tue, 20 Nov 2007 19:56:39 +0000 (11:56 -0800)
committerMark Fasheh <mark.fasheh@oracle.com>
Wed, 28 Nov 2007 00:47:03 +0000 (16:47 -0800)
ocfs2_truncate() and ocfs2_remove_inode_range() had reversed their "set
i_size" arguments to ocfs2_truncate_inline(). Fix things so that truncate
sets i_size, and punching a hole ignores it.

This exposed a problem where punching a hole in an inline-data file wasn't
updating the page cache, so fix that too.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>

No differences found