summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aha1740.h
diff options
context:
space:
mode:
authorJoel Becker <joel.becker@oracle.com>2009-08-19 20:09:17 +0200
committerJoel Becker <joel.becker@oracle.com>2010-02-27 00:41:13 +0100
commit139ffacebf5fe2cd9e2ae40d325a9661a679ad4f (patch)
tree4643a671b7712cfe7210cc970252641be17518ce /drivers/scsi/aha1740.h
parentocfs2: Set xattr block entries with ocfs2_xa_set() (diff)
downloadlinux-139ffacebf5fe2cd9e2ae40d325a9661a679ad4f.tar.xz
linux-139ffacebf5fe2cd9e2ae40d325a9661a679ad4f.zip
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 'drivers/scsi/aha1740.h')
0 files changed, 0 insertions, 0 deletions