diff options
Diffstat (limited to 'fs/xfs/xfs_fsops.c')
-rw-r--r-- | fs/xfs/xfs_fsops.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/fs/xfs/xfs_fsops.c b/fs/xfs/xfs_fsops.c index 21213057c27f..ca535d613190 100644 --- a/fs/xfs/xfs_fsops.c +++ b/fs/xfs/xfs_fsops.c | |||
@@ -559,32 +559,6 @@ xfs_reserve_blocks( | |||
559 | return(0); | 559 | return(0); |
560 | } | 560 | } |
561 | 561 | ||
562 | void | ||
563 | xfs_fs_log_dummy(xfs_mount_t *mp) | ||
564 | { | ||
565 | xfs_trans_t *tp; | ||
566 | xfs_inode_t *ip; | ||
567 | |||
568 | |||
569 | tp = _xfs_trans_alloc(mp, XFS_TRANS_DUMMY1); | ||
570 | atomic_inc(&mp->m_active_trans); | ||
571 | if (xfs_trans_reserve(tp, 0, XFS_ICHANGE_LOG_RES(mp), 0, 0, 0)) { | ||
572 | xfs_trans_cancel(tp, 0); | ||
573 | return; | ||
574 | } | ||
575 | |||
576 | ip = mp->m_rootip; | ||
577 | xfs_ilock(ip, XFS_ILOCK_EXCL); | ||
578 | |||
579 | xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL); | ||
580 | xfs_trans_ihold(tp, ip); | ||
581 | xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE); | ||
582 | xfs_trans_set_sync(tp); | ||
583 | xfs_trans_commit(tp, 0, NULL); | ||
584 | |||
585 | xfs_iunlock(ip, XFS_ILOCK_EXCL); | ||
586 | } | ||
587 | |||
588 | int | 562 | int |
589 | xfs_fs_goingdown( | 563 | xfs_fs_goingdown( |
590 | xfs_mount_t *mp, | 564 | xfs_mount_t *mp, |