summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorJoel Becker <joel.becker@oracle.com>2009-08-19 11:09:17 -0700
committerJoel Becker <joel.becker@oracle.com>2010-02-26 15:41:13 -0800
commit139ffacebf5fe2cd9e2ae40d325a9661a679ad4f (patch)
tree4643a671b7712cfe7210cc970252641be17518ce /block
parentd3981544d7a4ed276966cdd58fe2f5d6e8a585d9 (diff)
ocfs2: Set inline xattr entries with ocfs2_xa_set()
ocfs2_xattr_ibody_set() is the only remaining user of ocfs2_xattr_set_entry(). ocfs2_xattr_set_entry() actually does two things: it calls ocfs2_xa_set(), and it initializes the inline xattrs. Initializing the inline space really belongs in its own call. We lift the initialization to ocfs2_xattr_ibody_init(), called from ocfs2_xattr_ibody_set() only when necessary. Now ocfs2_xattr_ibody_set() can call ocfs2_xa_set() directly. ocfs2_xattr_set_entry() goes away. Another nice fact is that ocfs2_init_dinode_xa_loc() can trust i_xattr_inline_size. Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions