ocfs2: Use ocfs2_xattr_value_buf in ocfs2_xattr_set_entry().
authorJoel Becker <joel.becker@oracle.com>
Tue, 9 Dec 2008 23:58:35 +0000 (15:58 -0800)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:40:33 +0000 (08:40 -0800)
commit512620f44df85df87348fc9a6fc54fcaa254b8d3
tree18e720d79e7f0d08cb8e5469319daacc8a208088
parent0c748e95327d00e9eb19d0f34b32147ecbc02137
ocfs2: Use ocfs2_xattr_value_buf in ocfs2_xattr_set_entry().

ocfs2_xattr_set_entry is the function that knows what type of block it
is setting into.  This is what we wanted from ocfs2_xattr_value_buf.
Plus, moving the value buf up into ocfs2_xattr_set_entry() allows us to
pass it into ocfs2_xattr_set_value_outside() and ocfs2_xattr_cleanup().

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