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)
commit9dc474005d0e34cf21d4b510f347e3942f24b021
treef19e028c6f500802623a5c8256c64e434a79a2be
parent69a3e539d083ac09aec92b8705b8ff2c2e5c810c
ocfs2: Handle value tree roots in ocfs2_xa_set_inline_value()

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
This page took 0.028088 seconds and 5 git commands to generate.