xfs: stop passing opaque handles to xfs_log.c routines
authorChristoph Hellwig <hch@infradead.org>
Mon, 15 Feb 2010 23:34:54 +0000 (23:34 +0000)
committerAlex Elder <aelder@sgi.com>
Mon, 1 Mar 2010 22:35:32 +0000 (16:35 -0600)
commit35a8a72f064105807b091a21e004893b219c9ed2
treeb66a96b476f93f0e97b7e4c2e2bb2f91cf683fbb
parentc467c049e7e6e8b8fe9f38b13b20a4cf7e03f36b
xfs: stop passing opaque handles to xfs_log.c routines

Currenly we pass opaque xfs_log_ticket_t handles instead of
struct xlog_ticket pointers, and void pointers instead of
struct xlog_in_core pointers to various log manager functions.
Instead pass properly typed pointers after adding forward
declarations for them to xfs_log.h, and adjust the touched
function prototypes to the standard XFS style while at it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/xfs_log.c
fs/xfs/xfs_log.h
fs/xfs/xfs_trans.c
fs/xfs/xfs_trans.h