xfs: cleanup up xfs_log_force calling conventions
authorChristoph Hellwig <hch@infradead.org>
Tue, 19 Jan 2010 09:56:46 +0000 (09:56 +0000)
committerAlex Elder <aelder@sgi.com>
Thu, 21 Jan 2010 19:44:49 +0000 (13:44 -0600)
commita14a348bff2f99471a28e5928eb6801224c053d8
tree9a34d7e988cd78bc9b19369cbad3ad009b9a2bfd
parent4139b3b337cffd106744386c842b89dc86e31d4b
xfs: cleanup up xfs_log_force calling conventions

Remove the XFS_LOG_FORCE argument which was always set, and the
XFS_LOG_URGE define, which was never used.

Split xfs_log_force into a two helpers - xfs_log_force which forces
the whole log, and xfs_log_force_lsn which forces up to the
specified LSN.  The underlying implementations already were entirely
separate, as were the users.

Also re-indent the new _xfs_log_force/_xfs_log_force which
previously had a weird coding style.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
14 files changed:
fs/xfs/linux-2.6/xfs_sync.c
fs/xfs/quota/xfs_dquot.c
fs/xfs/quota/xfs_dquot_item.c
fs/xfs/quota/xfs_qm_syscalls.c
fs/xfs/xfs_alloc.c
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode_item.c
fs/xfs/xfs_log.c
fs/xfs/xfs_log.h
fs/xfs/xfs_log_recover.c
fs/xfs/xfs_mount.c
fs/xfs/xfs_trans.c
fs/xfs/xfs_trans_ail.c
fs/xfs/xfs_vnodeops.c