xfs: remove XFS_bflush
authorChristoph Hellwig <hch@infradead.org>
Mon, 10 Oct 2011 16:52:52 +0000 (16:52 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 12 Oct 2011 02:15:11 +0000 (21:15 -0500)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/xfs_buf.h
fs/xfs/xfs_log_recover.c
fs/xfs/xfs_mount.c
fs/xfs/xfs_qm.c
fs/xfs/xfs_super.c
fs/xfs/xfs_sync.c

index be19dd2b0212b3a579414af1adcafdabf1922007..5bab046e859fc8c0aaa6a237ccd35ce754e8397d 100644 (file)
@@ -294,6 +294,4 @@ extern int xfs_flush_buftarg(xfs_buftarg_t *, int);
 #define xfs_getsize_buftarg(buftarg)   block_size((buftarg)->bt_bdev)
 #define xfs_readonly_buftarg(buftarg)  bdev_read_only((buftarg)->bt_bdev)
 
-#define XFS_bflush(buftarg)            xfs_flush_buftarg(buftarg, 1)
-
 #endif /* __XFS_BUF_H__ */
index 82ee9db628ed264025df956a0801a540b1ded95d..541a508adea1818c8c9c07486e9908f7ddfa882f 100644 (file)
@@ -3654,7 +3654,7 @@ xlog_do_recover(
                return error;
        }
 
-       XFS_bflush(log->l_mp->m_ddev_targp);
+       xfs_flush_buftarg(log->l_mp->m_ddev_targp, 1);
 
        /*
         * If IO errors happened during recovery, bail out.
index f3b1cec38b81c343c4b61a3c12df71c49bc5676b..d06afbc3540dde90d7796139bf658c8439a83d4c 100644 (file)
@@ -1481,7 +1481,7 @@ xfs_unmountfs(
         * state as much as possible.
         */
        xfs_reclaim_inodes(mp, 0);
-       XFS_bflush(mp->m_ddev_targp);
+       xfs_flush_buftarg(mp->m_ddev_targp, 1);
        xfs_reclaim_inodes(mp, SYNC_WAIT);
 
        xfs_qm_unmount(mp);
index ddaf97a57ec68471ce664e6a0724bfdd185ea113..5cff443f6cdb782f4d89cfed6e767bdb24a32e06 100644 (file)
@@ -1681,7 +1681,7 @@ xfs_qm_quotacheck(
         * quotacheck'd stamp on the superblock. So, here we do a synchronous
         * flush.
         */
-       XFS_bflush(mp->m_ddev_targp);
+       xfs_flush_buftarg(mp->m_ddev_targp, 1);
 
        /*
         * If one type of quotas is off, then it will lose its
index 6ad05e68abdaf1e2706e07cbdca582049f8f8177..ba16248bcf24de9abbf83c59c1eced74e5334e7d 100644 (file)
@@ -1015,7 +1015,7 @@ xfs_fs_put_super(
         */
        xfs_filestream_unmount(mp);
 
-       XFS_bflush(mp->m_ddev_targp);
+       xfs_flush_buftarg(mp->m_ddev_targp, 1);
 
        xfs_unmountfs(mp);
        xfs_freesb(mp);
@@ -1439,7 +1439,7 @@ xfs_fs_fill_super(
         */
        xfs_filestream_unmount(mp);
 
-       XFS_bflush(mp->m_ddev_targp);
+       xfs_flush_buftarg(mp->m_ddev_targp, 1);
 
        xfs_unmountfs(mp);
        goto out_free_sb;
index bf2b38c21caa395e1073a508911acd386f20d58a..aa3dc1a4d53d4f85f97a38f0db217bfcc4e3c953 100644 (file)
@@ -377,7 +377,7 @@ xfs_quiesce_data(
 
        /* flush data-only devices */
        if (mp->m_rtdev_targp)
-               XFS_bflush(mp->m_rtdev_targp);
+               xfs_flush_buftarg(mp->m_rtdev_targp, 1);
 
        return error ? error : error2;
 }
This page took 0.033564 seconds and 5 git commands to generate.