]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
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)
commitb1967d0eddeef4869ee283e692735cb994f3745a
tree9f99f2a593c01c1755c1a3025577145185e90e48
parent0d8a4e0cd688ad0de6430ce3425c7849cfec1c2d
ocfs2: reverse inline-data truncate args

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>
fs/ocfs2/file.c