summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2012-02-20 02:31:23 +0000
committerBen Myers <bpm@sgi.com>2012-02-22 22:17:00 -0600
commitcfb7cdca0aca5ee2e2ef491284bf1edc3b581885 (patch)
tree2d3398752711b7b0215cba1aa2cc06fc8a44163d /fs/xfs/xfs_log.h
parent5b03ff1b2444ddf7b8084b7505101e97257aff5a (diff)
downloadlinux-stable-cfb7cdca0aca5ee2e2ef491284bf1edc3b581885.tar.gz
linux-stable-cfb7cdca0aca5ee2e2ef491284bf1edc3b581885.tar.bz2
linux-stable-cfb7cdca0aca5ee2e2ef491284bf1edc3b581885.zip
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_log.h')
-rw-r--r--fs/xfs/xfs_log.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_log.h b/fs/xfs/xfs_log.h
index 58d858074e6b..fe32c6927877 100644
--- a/fs/xfs/xfs_log.h
+++ b/fs/xfs/xfs_log.h
@@ -161,8 +161,7 @@ int xfs_log_mount(struct xfs_mount *mp,
int num_bblocks);
int xfs_log_mount_finish(struct xfs_mount *mp);
xfs_lsn_t xlog_assign_tail_lsn(struct xfs_mount *mp);
-void xfs_log_space_wake(struct xfs_mount *mp,
- bool opportunistic);
+void xfs_log_space_wake(struct xfs_mount *mp);
int xfs_log_notify(struct xfs_mount *mp,
struct xlog_in_core *iclog,
xfs_log_callback_t *callback_entry);