ocfs2: Abstract duplicate clusters process in CoW.
authorTao Ma <tao.ma@oracle.com>
Mon, 24 Aug 2009 06:31:03 +0000 (14:31 +0800)
committerJoel Becker <joel.becker@oracle.com>
Wed, 23 Sep 2009 03:09:40 +0000 (20:09 -0700)
commit913580b4cd445c4fb25d7cf167911a8cf6bdb1eb
tree24ad6cb14d27f101863035029eb8cea0ee8ed361
parent1061f9c1c9f81ed88b5d268a95d8e3ace80da63a
ocfs2: Abstract duplicate clusters process in CoW.

We currently use pagecache to duplicate clusters in CoW,
but it isn't suitable for xattr case. So abstract it out
so that the caller can decide which method it use.

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