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.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c
index c8f300897728..25faa3fe83d2 100644
--- a/fs/xfs/xfs_log.c
+++ b/fs/xfs/xfs_log.c
@@ -635,19 +635,6 @@ xfs_log_mount_finish(xfs_mount_t *mp)
635} 635}
636 636
637/* 637/*
638 * Unmount processing for the log.
639 */
640int
641xfs_log_unmount(xfs_mount_t *mp)
642{
643 int error;
644
645 error = xfs_log_unmount_write(mp);
646 xfs_log_unmount_dealloc(mp);
647 return error;
648}
649
650/*
651 * Final log writes as part of unmount. 638 * Final log writes as part of unmount.
652 * 639 *
653 * Mark the filesystem clean as unmount happens. Note that during relocation 640 * Mark the filesystem clean as unmount happens. Note that during relocation
@@ -797,7 +784,7 @@ xfs_log_unmount_write(xfs_mount_t *mp)
797 * and deallocate the log as the aild references the log. 784 * and deallocate the log as the aild references the log.
798 */ 785 */
799void 786void
800xfs_log_unmount_dealloc(xfs_mount_t *mp) 787xfs_log_unmount(xfs_mount_t *mp)
801{ 788{
802 xfs_trans_ail_destroy(mp); 789 xfs_trans_ail_destroy(mp);
803 xlog_dealloc_log(mp->m_log); 790 xlog_dealloc_log(mp->m_log);