diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c index 8479df31cb437cd945d2f10f8ab9b4f6bc1d4f79..fed7a6c3d23e5678a1b3af9b1665dac8e35e3a0e 100644 --- a/fs/xfs/xfs_log.c +++ b/fs/xfs/xfs_log.c @@ -806,7 +806,7 @@ xlog_write_unmount_record( * stamp the tail LSN into the unmount record. */ if (log->l_targ != log->l_mp->m_ddev_targp) - xfs_blkdev_issue_flush(log->l_targ); + xfs_blkdev_issue_flush(log->l_mp->m_ddev_targp); return xlog_write(log, &vec, ticket, NULL, NULL, XLOG_UNMOUNT_TRANS); }