ocfs2/xattr: Remove additional bucket allocation in bucket defragment.
authorTao Ma <tao.ma@oracle.com>
Thu, 6 Nov 2008 00:10:47 +0000 (08:10 +0800)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:34:18 +0000 (08:34 -0800)
commit1c32a2fd46ddc01bd86bff56a8f5d98c815750f4
tree6451cd228d95d3c07dd5c557b286a7eec9a71614
parent02dbf38d19c19016f558fe0dc0c44f8041d3eb8e
ocfs2/xattr: Remove additional bucket allocation in bucket defragment.

Joel has refactored xattr bucket and make xattr bucket a general
wrapper. So in ocfs2_defrag_xattr_bucket, we have already passed the
bucket in, so there is no need to allocate a new one and read it.

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