]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[XFS] Fix build brakage from patch "Clean up dquot pincount code"
authorPeter Leckie <pleckie@sgi.com>
Thu, 30 Oct 2008 06:05:18 +0000 (17:05 +1100)
committerLachlan McIlroy <lachlan@sgi.com>
Thu, 30 Oct 2008 06:05:18 +0000 (17:05 +1100)
This is a fix for patch " Clean up dquot pincount code" which introduced a
build breakage due to a missing & in xfs_qm_dquot_logitem_pin.

SGI-PV: 986789

SGI-Modid: xfs-linux-melb:xfs-kern:32221a

Signed-off-by: Peter Leckie <pleckie@sgi.com>
Signed-off-by: Donald Douwsma <donaldd@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/quota/xfs_dquot_item.c

index e33f8646418bcfe72589d0182cfd5125484818fc..48f08109621f1430ebb91d65ff364dee7d3d9fad 100644 (file)
@@ -96,7 +96,7 @@ xfs_qm_dquot_logitem_pin(
        xfs_dquot_t *dqp = logitem->qli_dquot;
 
        ASSERT(XFS_DQ_IS_LOCKED(dqp));
-       atomic_inc(dqp->q_pincount);
+       atomic_inc(&dqp->q_pincount);
 }
 
 /*