Merge branch 'xfs-misc-fixes-for-4.5-2' into for-next
This commit is contained in:
@@ -3521,6 +3521,7 @@ xlog_recover_dquot_ra_pass2(
|
||||
struct xfs_disk_dquot *recddq;
|
||||
struct xfs_dq_logformat *dq_f;
|
||||
uint type;
|
||||
int len;
|
||||
|
||||
|
||||
if (mp->m_qflags == 0)
|
||||
@@ -3541,8 +3542,12 @@ xlog_recover_dquot_ra_pass2(
|
||||
ASSERT(dq_f);
|
||||
ASSERT(dq_f->qlf_len == 1);
|
||||
|
||||
xfs_buf_readahead(mp->m_ddev_targp, dq_f->qlf_blkno,
|
||||
XFS_FSB_TO_BB(mp, dq_f->qlf_len), NULL);
|
||||
len = XFS_FSB_TO_BB(mp, dq_f->qlf_len);
|
||||
if (xlog_peek_buffer_cancelled(log, dq_f->qlf_blkno, len, 0))
|
||||
return;
|
||||
|
||||
xfs_buf_readahead(mp->m_ddev_targp, dq_f->qlf_blkno, len,
|
||||
&xfs_dquot_buf_ra_ops);
|
||||
}
|
||||
|
||||
STATIC void
|
||||
|
Reference in New Issue
Block a user