Loading fs/xfs/xfs_qm.c +3 −4 Original line number Original line Diff line number Diff line Loading @@ -415,8 +415,7 @@ xfs_qm_unmount_quotas( */ */ STATIC int STATIC int xfs_qm_dqflush_all( xfs_qm_dqflush_all( struct xfs_mount *mp, struct xfs_mount *mp) int sync_mode) { { struct xfs_quotainfo *q = mp->m_quotainfo; struct xfs_quotainfo *q = mp->m_quotainfo; int recl; int recl; Loading Loading @@ -451,7 +450,7 @@ xfs_qm_dqflush_all( * across a disk write. * across a disk write. */ */ mutex_unlock(&q->qi_dqlist_lock); mutex_unlock(&q->qi_dqlist_lock); error = xfs_qm_dqflush(dqp, sync_mode); error = xfs_qm_dqflush(dqp, 0); xfs_dqunlock(dqp); xfs_dqunlock(dqp); if (error) if (error) return error; return error; Loading Loading @@ -1567,7 +1566,7 @@ xfs_qm_quotacheck( * successfully. * successfully. */ */ if (!error) if (!error) error = xfs_qm_dqflush_all(mp, 0); error = xfs_qm_dqflush_all(mp); /* /* * We can get this error if we couldn't do a dquot allocation inside * We can get this error if we couldn't do a dquot allocation inside Loading Loading
fs/xfs/xfs_qm.c +3 −4 Original line number Original line Diff line number Diff line Loading @@ -415,8 +415,7 @@ xfs_qm_unmount_quotas( */ */ STATIC int STATIC int xfs_qm_dqflush_all( xfs_qm_dqflush_all( struct xfs_mount *mp, struct xfs_mount *mp) int sync_mode) { { struct xfs_quotainfo *q = mp->m_quotainfo; struct xfs_quotainfo *q = mp->m_quotainfo; int recl; int recl; Loading Loading @@ -451,7 +450,7 @@ xfs_qm_dqflush_all( * across a disk write. * across a disk write. */ */ mutex_unlock(&q->qi_dqlist_lock); mutex_unlock(&q->qi_dqlist_lock); error = xfs_qm_dqflush(dqp, sync_mode); error = xfs_qm_dqflush(dqp, 0); xfs_dqunlock(dqp); xfs_dqunlock(dqp); if (error) if (error) return error; return error; Loading Loading @@ -1567,7 +1566,7 @@ xfs_qm_quotacheck( * successfully. * successfully. */ */ if (!error) if (!error) error = xfs_qm_dqflush_all(mp, 0); error = xfs_qm_dqflush_all(mp); /* /* * We can get this error if we couldn't do a dquot allocation inside * We can get this error if we couldn't do a dquot allocation inside Loading