]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc4afcae17ae2d0314d78d2f114a91b8c1b57f408
tree100e2b49e622e6933d8f88e052076e23bd943ae1
parent996779616dec19d1f7d2bab27d51e9d5916981cb
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