ocfs2: Handle value tree roots in ocfs2_xa_set_inline_value()
authorJoel Becker <joel.becker@oracle.com>
Tue, 18 Aug 2009 02:56:01 +0000 (19:56 -0700)
committerJoel Becker <joel.becker@oracle.com>
Fri, 26 Feb 2010 23:41:10 +0000 (15:41 -0800)
Previously the xattr code would send in a fake value, containing a tree
root, to the function that installed name+value pairs.  Instead, we pass
the real value to ocfs2_xa_set_inline_value(), and it notices that the
value cannot fit.  Thus, it installs a tree root.

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

Simple merge