Skip to content
Commit b1967d0e authored by Mark Fasheh's avatar Mark Fasheh
Browse files

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: default avatarMark Fasheh <mark.fasheh@oracle.com>
parent 0d8a4e0c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment