diff options
Diffstat (limited to 'fs/xfs/xfs_log.c')
-rw-r--r-- | fs/xfs/xfs_log.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c index bde02f1fba73..3b74fa011bb1 100644 --- a/fs/xfs/xfs_log.c +++ b/fs/xfs/xfs_log.c | |||
@@ -788,7 +788,7 @@ xfs_log_mount_cancel( | |||
788 | * As far as I know, there weren't any dependencies on the old behaviour. | 788 | * As far as I know, there weren't any dependencies on the old behaviour. |
789 | */ | 789 | */ |
790 | 790 | ||
791 | int | 791 | static int |
792 | xfs_log_unmount_write(xfs_mount_t *mp) | 792 | xfs_log_unmount_write(xfs_mount_t *mp) |
793 | { | 793 | { |
794 | struct xlog *log = mp->m_log; | 794 | struct xlog *log = mp->m_log; |
@@ -1036,7 +1036,7 @@ xfs_log_space_wake( | |||
1036 | * there's no point in running a dummy transaction at this point because we | 1036 | * there's no point in running a dummy transaction at this point because we |
1037 | * can't start trying to idle the log until both the CIL and AIL are empty. | 1037 | * can't start trying to idle the log until both the CIL and AIL are empty. |
1038 | */ | 1038 | */ |
1039 | int | 1039 | static int |
1040 | xfs_log_need_covered(xfs_mount_t *mp) | 1040 | xfs_log_need_covered(xfs_mount_t *mp) |
1041 | { | 1041 | { |
1042 | struct xlog *log = mp->m_log; | 1042 | struct xlog *log = mp->m_log; |
@@ -1177,7 +1177,7 @@ xlog_space_left( | |||
1177 | * The log manager needs its own routine, in order to control what | 1177 | * The log manager needs its own routine, in order to control what |
1178 | * happens with the buffer after the write completes. | 1178 | * happens with the buffer after the write completes. |
1179 | */ | 1179 | */ |
1180 | void | 1180 | static void |
1181 | xlog_iodone(xfs_buf_t *bp) | 1181 | xlog_iodone(xfs_buf_t *bp) |
1182 | { | 1182 | { |
1183 | struct xlog_in_core *iclog = bp->b_fspriv; | 1183 | struct xlog_in_core *iclog = bp->b_fspriv; |
@@ -1302,7 +1302,7 @@ xfs_log_work_queue( | |||
1302 | * disk. If there is nothing dirty, then we might need to cover the log to | 1302 | * disk. If there is nothing dirty, then we might need to cover the log to |
1303 | * indicate that the filesystem is idle. | 1303 | * indicate that the filesystem is idle. |
1304 | */ | 1304 | */ |
1305 | void | 1305 | static void |
1306 | xfs_log_worker( | 1306 | xfs_log_worker( |
1307 | struct work_struct *work) | 1307 | struct work_struct *work) |
1308 | { | 1308 | { |
@@ -1415,7 +1415,7 @@ xlog_alloc_log( | |||
1415 | */ | 1415 | */ |
1416 | error = -ENOMEM; | 1416 | error = -ENOMEM; |
1417 | bp = xfs_buf_alloc(mp->m_logdev_targp, XFS_BUF_DADDR_NULL, | 1417 | bp = xfs_buf_alloc(mp->m_logdev_targp, XFS_BUF_DADDR_NULL, |
1418 | BTOBB(log->l_iclog_size), 0); | 1418 | BTOBB(log->l_iclog_size), XBF_NO_IOACCT); |
1419 | if (!bp) | 1419 | if (!bp) |
1420 | goto out_free_log; | 1420 | goto out_free_log; |
1421 | 1421 | ||
@@ -1454,7 +1454,8 @@ xlog_alloc_log( | |||
1454 | prev_iclog = iclog; | 1454 | prev_iclog = iclog; |
1455 | 1455 | ||
1456 | bp = xfs_buf_get_uncached(mp->m_logdev_targp, | 1456 | bp = xfs_buf_get_uncached(mp->m_logdev_targp, |
1457 | BTOBB(log->l_iclog_size), 0); | 1457 | BTOBB(log->l_iclog_size), |
1458 | XBF_NO_IOACCT); | ||
1458 | if (!bp) | 1459 | if (!bp) |
1459 | goto out_free_iclog; | 1460 | goto out_free_iclog; |
1460 | 1461 | ||