aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_log.c')
-rw-r--r--fs/xfs/xfs_log.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c
index d118bf804480..a1d7d12fc51f 100644
--- a/fs/xfs/xfs_log.c
+++ b/fs/xfs/xfs_log.c
@@ -47,7 +47,7 @@ STATIC xlog_t * xlog_alloc_log(xfs_mount_t *mp,
47 xfs_buftarg_t *log_target, 47 xfs_buftarg_t *log_target,
48 xfs_daddr_t blk_offset, 48 xfs_daddr_t blk_offset,
49 int num_bblks); 49 int num_bblks);
50STATIC int xlog_space_left(struct log *log, int64_t *head); 50STATIC int xlog_space_left(struct log *log, atomic64_t *head);
51STATIC int xlog_sync(xlog_t *log, xlog_in_core_t *iclog); 51STATIC int xlog_sync(xlog_t *log, xlog_in_core_t *iclog);
52STATIC void xlog_dealloc_log(xlog_t *log); 52STATIC void xlog_dealloc_log(xlog_t *log);
53 53
@@ -100,7 +100,7 @@ STATIC int xlog_iclogs_empty(xlog_t *log);
100static void 100static void
101xlog_grant_sub_space( 101xlog_grant_sub_space(
102 struct log *log, 102 struct log *log,
103 int64_t *head, 103 atomic64_t *head,
104 int bytes) 104 int bytes)
105{ 105{
106 int cycle, space; 106 int cycle, space;
@@ -119,7 +119,7 @@ xlog_grant_sub_space(
119static void 119static void
120xlog_grant_add_space( 120xlog_grant_add_space(
121 struct log *log, 121 struct log *log,
122 int64_t *head, 122 atomic64_t *head,
123 int bytes) 123 int bytes)
124{ 124{
125 int tmp; 125 int tmp;
@@ -816,7 +816,7 @@ xlog_assign_tail_lsn(
816STATIC int 816STATIC int
817xlog_space_left( 817xlog_space_left(
818 struct log *log, 818 struct log *log,
819 int64_t *head) 819 atomic64_t *head)
820{ 820{
821 int free_bytes; 821 int free_bytes;
822 int tail_bytes; 822 int tail_bytes;