]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
xfs: add a separate lock class for the per-mount list of dquots
authorChristoph Hellwig <hch@lst.de>
Mon, 19 Jan 2009 01:03:11 +0000 (02:03 +0100)
committerLachlan McIlroy <lachlan@sgi.com>
Mon, 19 Jan 2009 03:44:44 +0000 (14:44 +1100)
commit080dda7f5e8e8df95bcd17a5345c276e365a2054
tree19937537e0c3d623255ccf1e76af36eceb2fb584
parent62e194ecdaf8a1935991c1f8704886328d96a391
xfs: add a separate lock class for the per-mount list of dquots

We can have both a a quota hash chain and the per-mount list locked at
the same time.  But given that both use the same struct dqhash as list
head we have to tell lockdep that they are different lock classes.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
fs/xfs/quota/xfs_qm.c