]> err.no Git - linux-2.6/blobdiff - fs/xfs/xfs_fsops.c
[PATCH] jffs/jffs2: remove wrong function prototypes
[linux-2.6] / fs / xfs / xfs_fsops.c
index 21213057c27f9ff655100f986cd7ad49d930b619..ca535d613190fca9ac1a15df62713223d4a69825 100644 (file)
@@ -559,32 +559,6 @@ xfs_reserve_blocks(
        return(0);
 }
 
-void
-xfs_fs_log_dummy(xfs_mount_t *mp)
-{
-       xfs_trans_t *tp;
-       xfs_inode_t *ip;
-
-
-       tp = _xfs_trans_alloc(mp, XFS_TRANS_DUMMY1);
-       atomic_inc(&mp->m_active_trans);
-       if (xfs_trans_reserve(tp, 0, XFS_ICHANGE_LOG_RES(mp), 0, 0, 0)) {
-               xfs_trans_cancel(tp, 0);
-               return;
-       }
-
-       ip = mp->m_rootip;
-       xfs_ilock(ip, XFS_ILOCK_EXCL);
-
-       xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL);
-       xfs_trans_ihold(tp, ip);
-       xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
-       xfs_trans_set_sync(tp);
-       xfs_trans_commit(tp, 0, NULL);
-
-       xfs_iunlock(ip, XFS_ILOCK_EXCL);
-}
-
 int
 xfs_fs_goingdown(
        xfs_mount_t     *mp,