diff options
author | Christoph Hellwig <hch@infradead.org> | 2012-02-19 21:31:23 -0500 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2012-02-22 23:17:00 -0500 |
commit | cfb7cdca0aca5ee2e2ef491284bf1edc3b581885 (patch) | |
tree | 2d3398752711b7b0215cba1aa2cc06fc8a44163d /fs/xfs/xfs_trans_ail.c | |
parent | 5b03ff1b2444ddf7b8084b7505101e97257aff5a (diff) |
xfs: cleanup xfs_log_space_wake
Remove the now unused opportunistic parameter, and use the the
xlog_writeq_wake and xlog_reserveq_wake helpers now that we don't have
to care about the opportunistic wakeups.
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_trans_ail.c')
-rw-r--r-- | fs/xfs/xfs_trans_ail.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_trans_ail.c b/fs/xfs/xfs_trans_ail.c index 9d5fc089ea2e..1dead07f092c 100644 --- a/fs/xfs/xfs_trans_ail.c +++ b/fs/xfs/xfs_trans_ail.c | |||
@@ -671,7 +671,7 @@ xfs_trans_ail_update_bulk( | |||
671 | 671 | ||
672 | if (mlip_changed && !XFS_FORCED_SHUTDOWN(ailp->xa_mount)) { | 672 | if (mlip_changed && !XFS_FORCED_SHUTDOWN(ailp->xa_mount)) { |
673 | xlog_assign_tail_lsn(ailp->xa_mount); | 673 | xlog_assign_tail_lsn(ailp->xa_mount); |
674 | xfs_log_space_wake(ailp->xa_mount, false); | 674 | xfs_log_space_wake(ailp->xa_mount); |
675 | } | 675 | } |
676 | } | 676 | } |
677 | 677 | ||
@@ -733,7 +733,7 @@ xfs_trans_ail_delete_bulk( | |||
733 | 733 | ||
734 | if (mlip_changed && !XFS_FORCED_SHUTDOWN(ailp->xa_mount)) { | 734 | if (mlip_changed && !XFS_FORCED_SHUTDOWN(ailp->xa_mount)) { |
735 | xlog_assign_tail_lsn(ailp->xa_mount); | 735 | xlog_assign_tail_lsn(ailp->xa_mount); |
736 | xfs_log_space_wake(ailp->xa_mount, false); | 736 | xfs_log_space_wake(ailp->xa_mount); |
737 | } | 737 | } |
738 | } | 738 | } |
739 | 739 | ||