xfs: factor log item initialisation
authorDave Chinner <dchinner@redhat.com>
Mon, 22 Mar 2010 23:10:00 +0000 (10:10 +1100)
committerAlex Elder <aelder@sgi.com>
Wed, 19 May 2010 14:58:07 +0000 (09:58 -0500)
commit43f5efc5b59db1b66e39fe9fdfc4ba6a27152afa
tree100e2b49e622e6933d8f88e052076e23bd943ae1
parente2a07812e93d4a51b1b1a6f15145a1634948db47
xfs: factor log item initialisation

Each log item type does manual initialisation of the log item.
Delayed logging introduces new fields that need initialisation, so
factor all the open coded initialisation into a common function
first.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/quota/xfs_dquot_item.c
fs/xfs/xfs_buf_item.c
fs/xfs/xfs_extfree_item.c
fs/xfs/xfs_inode_item.c
fs/xfs/xfs_log.c
fs/xfs/xfs_log.h