summaryrefslogtreecommitdiffstats
path: root/fs/attr.c
diff options
context:
space:
mode:
authorJoel Becker <joel.becker@oracle.com>2009-08-18 20:26:41 -0700
committerJoel Becker <joel.becker@oracle.com>2010-02-26 15:41:11 -0800
commit73857ee0b548017f9632a0d0e6fe2dabbdc11d31 (patch)
treef073a4e84c3df446f6ed2dd5c58ff27708b51dd0 /fs/attr.c
parentcf2bc809403ae48a4a2bb5cc551d2ec35f2e4a47 (diff)
downloadop-kernel-dev-73857ee0b548017f9632a0d0e6fe2dabbdc11d31.zip
op-kernel-dev-73857ee0b548017f9632a0d0e6fe2dabbdc11d31.tar.gz
ocfs2: Allocation in ocfs2_xa_prepare_entry(), values in ocfs2_xa_store_value()
ocfs2_xa_prepare_entry() gets all the logic to add, remove, or modify external value trees. Now, when it exits, the entry is ready to receive a value of any size. ocfs2_xa_remove() is added to handle the complete removal of an entry. It truncates the external value tree before calling ocfs2_xa_remove_entry(). ocfs2_xa_store_inline_value() becomes ocfs2_xa_store_value(). It can store any value. ocfs2_xattr_set_entry() loses all the allocation logic and just uses these functions. ocfs2_xattr_set_value_outside() disappears. ocfs2_xattr_set_in_bucket() uses these functions and makes ocfs2_xattr_set_entry_in_bucket() obsolete. That goes away, as does ocfs2_xattr_bucket_set_value_outside() and ocfs2_xattr_bucket_value_truncate(). Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/attr.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud