ocfs2: When zero extending, do it by page.
authorJoel Becker <joel.becker@oracle.com>
Tue, 6 Jul 2010 21:36:06 +0000 (14:36 -0700)
committerJoel Becker <joel.becker@oracle.com>
Thu, 8 Jul 2010 20:24:49 +0000 (13:24 -0700)
commita4bfb4cf11fd2211b788af59dc8a8b4394bca227
treec06f45ac5a992575a0e47dbc80bdf187db030cca
parent1739da40543ed2129050ccfa8a076a851ab6ed00
ocfs2: When zero extending, do it by page.

ocfs2_zero_extend() does its zeroing block by block, but it calls a
function named ocfs2_write_zero_page().  Let's have
ocfs2_write_zero_page() handle the page level.  From
ocfs2_zero_extend()'s perspective, it is now page-at-a-time.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Cc: stable@kernel.org
fs/ocfs2/aops.c
fs/ocfs2/file.c