commit | b1967d0eddeef4869ee283e692735cb994f3745a | [log] [tgz] |
---|---|---|
author | Mark Fasheh <mark.fasheh@oracle.com> | Tue Nov 20 11:56:39 2007 -0800 |
committer | Mark Fasheh <mark.fasheh@oracle.com> | Tue Nov 27 16:47:03 2007 -0800 |
tree | 9f99f2a593c01c1755c1a3025577145185e90e48 | |
parent | 0d8a4e0cd688ad0de6430ce3425c7849cfec1c2d [diff] |
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>