aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_buf.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_buf.c')
-rw-r--r--fs/xfs/linux-2.6/xfs_buf.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/xfs/linux-2.6/xfs_buf.c b/fs/xfs/linux-2.6/xfs_buf.c
index ed03c6d3c9c1..9cc8f0213095 100644
--- a/fs/xfs/linux-2.6/xfs_buf.c
+++ b/fs/xfs/linux-2.6/xfs_buf.c
@@ -1427,13 +1427,10 @@ xfs_unregister_buftarg(
1427 1427
1428void 1428void
1429xfs_free_buftarg( 1429xfs_free_buftarg(
1430 xfs_buftarg_t *btp, 1430 xfs_buftarg_t *btp)
1431 int external)
1432{ 1431{
1433 xfs_flush_buftarg(btp, 1); 1432 xfs_flush_buftarg(btp, 1);
1434 xfs_blkdev_issue_flush(btp); 1433 xfs_blkdev_issue_flush(btp);
1435 if (external)
1436 xfs_blkdev_put(btp->bt_bdev);
1437 xfs_free_bufhash(btp); 1434 xfs_free_bufhash(btp);
1438 iput(btp->bt_mapping->host); 1435 iput(btp->bt_mapping->host);
1439 1436