ocfs2: Use do_sync_mapping_range() in ocfs2_zero_tail_for_truncate()
authorMark Fasheh <mark.fasheh@oracle.com>
Thu, 1 Mar 2007 19:22:19 +0000 (11:22 -0800)
committerMark Fasheh <mark.fasheh@oracle.com>
Thu, 26 Apr 2007 22:02:30 +0000 (15:02 -0700)
commitfa41045fcbf78269991d5aebb1820fc51534f05d
treeee27e05ef25614d175ae5baf2ab8fb5dcdedce06
parent5b04aa3a64f854244bc40a6f528176ed50b5c4f6
ocfs2: Use do_sync_mapping_range() in ocfs2_zero_tail_for_truncate()

Do this instead of filemap_fdatawrite() - this way we sync only the
range between i_size and the cluster boundary.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/alloc.c