]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/xfs/xfs_qm.c
xfs: prevent quotacheck from overloading inode lru
[mirror_ubuntu-artful-kernel.git] / fs / xfs / xfs_qm.c
index 45e50ea90769f15d80e3da57e9a6d1721d12a21a..b669b123287bb115e561a6ea1c0be8ae4db359db 100644 (file)
@@ -1177,7 +1177,8 @@ xfs_qm_dqusage_adjust(
         * the case in all other instances. It's OK that we do this because
         * quotacheck is done only at mount time.
         */
-       error = xfs_iget(mp, NULL, ino, 0, XFS_ILOCK_EXCL, &ip);
+       error = xfs_iget(mp, NULL, ino, XFS_IGET_DONTCACHE, XFS_ILOCK_EXCL,
+                        &ip);
        if (error) {
                *res = BULKSTAT_RV_NOTHING;
                return error;