xfs_qm.c (3e5a428b264eca8c7f1c261cffbe139538d7965f) | xfs_qm.c (13d59a2a61cbbb4cda13a0cba6d4d1fc537f5dd4) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (c) 2000-2005 Silicon Graphics, Inc. 4 * All Rights Reserved. 5 */ 6#include "xfs.h" 7#include "xfs_fs.h" 8#include "xfs_shared.h" --- 1286 unchanged lines hidden (view full) --- 1295 if (pip) { 1296 error = xfs_qm_reset_dqcounts_buf(mp, pip, XFS_QMOPT_PQUOTA, 1297 &buffer_list); 1298 if (error) 1299 goto error_return; 1300 flags |= XFS_PQUOTA_CHKD; 1301 } 1302 | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (c) 2000-2005 Silicon Graphics, Inc. 4 * All Rights Reserved. 5 */ 6#include "xfs.h" 7#include "xfs_fs.h" 8#include "xfs_shared.h" --- 1286 unchanged lines hidden (view full) --- 1295 if (pip) { 1296 error = xfs_qm_reset_dqcounts_buf(mp, pip, XFS_QMOPT_PQUOTA, 1297 &buffer_list); 1298 if (error) 1299 goto error_return; 1300 flags |= XFS_PQUOTA_CHKD; 1301 } 1302 |
1303 error = xfs_iwalk_threaded(mp, 0, xfs_qm_dqusage_adjust, 0, true, NULL); | 1303 error = xfs_iwalk_threaded(mp, 0, 0, xfs_qm_dqusage_adjust, 0, true, 1304 NULL); |
1304 if (error) 1305 goto error_return; 1306 1307 /* 1308 * We've made all the changes that we need to make incore. Flush them 1309 * down to disk buffers if everything was updated successfully. 1310 */ 1311 if (XFS_IS_UQUOTA_ON(mp)) { --- 625 unchanged lines hidden --- | 1305 if (error) 1306 goto error_return; 1307 1308 /* 1309 * We've made all the changes that we need to make incore. Flush them 1310 * down to disk buffers if everything was updated successfully. 1311 */ 1312 if (XFS_IS_UQUOTA_ON(mp)) { --- 625 unchanged lines hidden --- |