|
@@ -674,7 +674,8 @@ xfs_qm_dqattach_one(
|
|
|
* disk and we didn't ask it to allocate;
|
|
|
* ESRCH if quotas got turned off suddenly.
|
|
|
*/
|
|
|
- error = xfs_qm_dqget(ip->i_mount, ip, id, type, XFS_QMOPT_DOWARN, &dqp);
|
|
|
+ error = xfs_qm_dqget(ip->i_mount, ip, id, type,
|
|
|
+ doalloc | XFS_QMOPT_DOWARN, &dqp);
|
|
|
if (error)
|
|
|
return error;
|
|
|
|