ocfs2: Don't duplicate pages past i_size during CoW.
authorTao Ma <tao.ma@oracle.com>
Wed, 14 Jul 2010 03:19:32 +0000 (11:19 +0800)
committerJoel Becker <joel.becker@oracle.com>
Thu, 15 Jul 2010 17:54:28 +0000 (10:54 -0700)
commitf5e27b6ddfbafdd9c9c2f06bbf28af12581409bc
treeb55eb9842a3ee2cfebb6a24ab2ee4ffbd597daee
parente372357ba55ae89307af15cd680467d8f0db4f01
ocfs2: Don't duplicate pages past i_size during CoW.

During CoW, the pages after i_size don't contain valid data, so there's
no need to read and duplicate them.

Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/refcounttree.c