]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitab484b42e85f8a539b16c637b5d1057870c9565a
treeea1ec010e7c3af013f3fe2cbbbed180ad20b73b8
parentb03fcf8762edcf1fd47293039ba339abc6ae00ee
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