]> git.karo-electronics.de Git - linux-beck.git/commit
[XFS] Don't double count reserved block changes on UP.
authorDavid Chinner <dgc@sgi.com>
Tue, 29 Apr 2008 02:53:15 +0000 (12:53 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Tue, 29 Apr 2008 05:58:27 +0000 (15:58 +1000)
commitd349404ff14758dc9a2d3df032073ed795085860
treee4ce7fef82c8f7a30b53a3dc40b35df6428fb1e3
parentfe0754f0e5c0f070bf82b6e7e5e8fa5a188163fc
[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>
fs/xfs/xfs_fsops.c