summaryrefslogtreecommitdiff
path: root/fs/xfs
diff options
context:
space:
mode:
authorDavid Chinner <dgc@sgi.com>2008-04-29 12:53:15 +1000
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-04-29 15:58:27 +1000
commitd349404ff14758dc9a2d3df032073ed795085860 (patch)
treee4ce7fef82c8f7a30b53a3dc40b35df6428fb1e3 /fs/xfs
parentfe0754f0e5c0f070bf82b6e7e5e8fa5a188163fc (diff)
[XFS] Don't double count reserved block changes on UP.
On uniprocessor machines, the incore superblock is used for all in memory accounting of free blocks. in this situation, changes to the reserved block count are accounted twice; once directly and once via xfs_mod_incore_sb(). Seeing as the modification on SMP is done via xfs_mod_incore_sb(), make this the only update mechanism that UP uses as well. SGI-PV: 980654 SGI-Modid: xfs-linux-melb:xfs-kern:30997a Signed-off-by: David Chinner <dgc@sgi.com> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs')
-rw-r--r--fs/xfs/xfs_fsops.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/xfs/xfs_fsops.c b/fs/xfs/xfs_fsops.c
index 5d5e9b34dd02..381ebda4f7bc 100644
--- a/fs/xfs/xfs_fsops.c
+++ b/fs/xfs/xfs_fsops.c
@@ -552,11 +552,8 @@ retry:
mp->m_resblks += free;
mp->m_resblks_avail += free;
fdblks_delta = -free;
- mp->m_sb.sb_fdblocks = XFS_ALLOC_SET_ASIDE(mp);
} else {
fdblks_delta = -delta;
- mp->m_sb.sb_fdblocks =
- lcounter + XFS_ALLOC_SET_ASIDE(mp);
mp->m_resblks = request;
mp->m_resblks_avail += delta;
}
@@ -587,7 +584,6 @@ out:
if (error == ENOSPC)
goto retry;
}
-
return 0;
}
fice-4-0-0'>libreoffice-4-0-0 Unnamed repository; edit this file to name it for gitweb.root
summaryrefslogtreecommitdiff
AgeCommit message (Expand)AuthorFilesLines
2024-11-11Update readmedistro/allotropia/zeta-24-2Stephan Bergmann3-30/+30
2024-10-29update translations for 24.2.7 rc2libreoffice-24-2-7Christian Lohmaier246-12944/+10125
2024-10-14Branch libreoffice-24-2-7Christian Lohmaier0-0/+0
2024-10-14update translations for 24.2.7 rc1Christian Lohmaier572-15179/+17482
2024-09-02update translations for 24.2.6 rc2Christian Lohmaier23-501/+501
2024-08-30update translations for 24.2.6 rc2Christian Lohmaier197-2935/+2885
2024-08-18update translations for 24.2.6 rc1Christian Lohmaier746-17182/+18007
2024-07-10update translations for 24.2.5 rc2Christian Lohmaier195-2778/+2804
2024-06-30update translations for 24.2.5 rc1Christian Lohmaier237-1516/+1421
2024-06-27update translations for 24.2.5 rc1Christian Lohmaier415-5218/+5205
2024-06-04update translations for 24.2.4 rc2Christian Lohmaier90-793/+781
2024-05-31update translations for 24.2.4 rc2Christian Lohmaier486-33672/+32762
2024-05-21update translations for 24.2.4 rc1Christian Lohmaier529-32993/+29625
2024-04-29update translations for 24.2.3 rc2Christian Lohmaier309-5301/+5274
2024-04-11update translations for 24.2.3 rc1Christian Lohmaier81-860/+829
2024-04-09update translations for 24.2.3 rc1Christian Lohmaier523-5055/+4725
2024-03-22update translations for 24.2.2 rc2Christian Lohmaier111-677/+662
2024-03-18bump copyright year for sl translationChristian Lohmaier2-4/+4
2024-03-18update translations for 24-2 and force-fix errors using pocheckChristian Lohmaier521-8071/+8016
2024-03-07update translations for 24.2.2 rc1Christian Lohmaier263-4995/+4896
2024-02-25update translations for 24.2.1 rc2Christian Lohmaier276-5469/+5410
2024-02-09update translations for 24.2.1 rc1cp-24.04.0-1Christian Lohmaier34-497/+476
2024-02-08update translations for 24.2.1 rc1Christian Lohmaier291-7745/+7428
2024-01-26update translations for 24.2.0 rc3Christian Lohmaier13-196/+196
2024-01-25update translations for 24.2.0 rc3Christian Lohmaier631-33232/+15659
2024-01-23Updated Slovenian translationMartin Srebotnjak4-248/+80
2024-01-22update sl translation for gerrit#161999Christian Lohmaier1-2/+2
2024-01-11update translations for master/24.2.0 rc1co-24.04-branch-pointChristian Lohmaier78-1234/+1150
2024-01-10Updated Slovenian translationMartin Srebotnjak19-91/+127
2024-01-10update translations for master/24-2Christian Lohmaier267-5889/+8163
2024-01-10add translations for Armenian (hy)Christian Lohmaier158-0/+273799
2024-01-10update translations for master/24-2Christian Lohmaier115-1769/+2348
2024-01-08update translations for master/24-2Christian Lohmaier914-17234/+21265
2023-12-30Updated Slovenian translationMartin Srebotnjak37-651/+1998
2023-12-21update translations for master/24.2.0 RC1Christian Lohmaier1440-36867/+87000
2023-12-20Updated Slovenian translationMartin Srebotnjak48-1612/+4963
2023-12-15update translations for master/24-2Christian Lohmaier1551-39007/+124820
2023-12-08Branch libreoffice-24-2Christian Lohmaier0-0/+0
2023-12-08update translations for master/24.2.0 Beta1libreoffice-24-2-branch-pointChristian Lohmaier53-466/+477
2023-12-07update translations for master/24.2.0 beta1Christian Lohmaier499-7052/+13102
2023-12-04update translations for masterChristian Lohmaier258-7146/+8658
2023-12-04update translations for masterChristian Lohmaier3565-257579/+431237
2023-11-30update translations for masterXisco Fauli198-4875/+4861
2023-11-23update translations for masterXisco Fauli51-1332/+1330
2023-11-23Updated Slovenian translationMartin Srebotnjak51-13811/+21418
2023-11-21update translations for masterXisco Fauli904-51173/+45191
2023-11-08update translations for masterChristian Lohmaier