ocfs2: update truncate handling of partial clusters
authorMark Fasheh <mark.fasheh@oracle.com>
Fri, 6 Jul 2007 21:41:18 +0000 (14:41 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Wed, 11 Jul 2007 00:32:07 +0000 (17:32 -0700)
The partial cluster zeroing code used during truncate usually assumes that
the rightmost byte in the range to be zeroed lies on a cluster boundary.
This makes sense for truncate, but punching holes might require zeroing on
non-aligned rightmost boundaries.

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

Simple merge
Simple merge
diff --cc fs/ocfs2/file.c
Simple merge