diff options
author | Mark Fasheh <mark.fasheh@oracle.com> | 2007-11-20 11:56:39 -0800 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2007-11-27 16:47:03 -0800 |
commit | b1967d0eddeef4869ee283e692735cb994f3745a (patch) | |
tree | 9f99f2a593c01c1755c1a3025577145185e90e48 /fs/nfs_common | |
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>
Diffstat (limited to 'fs/nfs_common')
0 files changed, 0 insertions, 0 deletions