ocfs2: Explain t_is_new in ocfs2_cp_xattr_cluster().
authorJoel Becker <joel.becker@oracle.com>
Wed, 26 Nov 2008 03:00:15 +0000 (19:00 -0800)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:40:27 +0000 (08:40 -0800)
commit2b656c1d6fc5ba7791a360766780a212faed5705
treeea1ec010e7c3af013f3fe2cbbbed180ad20b73b8
parent15d609293d1954465a4788b9b182214323c6a2a1
ocfs2: Explain t_is_new in ocfs2_cp_xattr_cluster().

I was unsure of the JOURNAL_ACCESS parameters in
ocfs2_cp_xattr_cluster().  They're based on the function argument
't_is_new', but I couldn't quite figure out how t_is_new mapped to
allocation.  ocfs2_cp_xattr_cluster() actually overwrites the target,
regardless of t_is_new.

Well, I just figured it out.  So I'm adding a big fat comment for those
who come after me.  ocfs2_divide_xattr_cluster() has the same behavior.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/xattr.c