ocfs2: Add CoW support for xattr.
commit492a8a33e1cb966fa0b5756c5fc11d30c8f8848e
authorTao Ma <tao.ma@oracle.com>
Tue, 18 Aug 2009 03:43:17 +0000 (18 11:43 +0800)
committerJoel Becker <joel.becker@oracle.com>
Wed, 23 Sep 2009 03:09:41 +0000 (22 20:09 -0700)
treeeacf691b07c8fa3e81c11ff1d6b8773c2dbb9e77
parent913580b4cd445c4fb25d7cf167911a8cf6bdb1eb
ocfs2: Add CoW support for xattr.

In order to make 2 transcation(xattr and cow) independent with each other,
we CoW the whole xattr out in case we are setting them.

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