]> git.baikalelectronics.ru Git - kernel.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)
commit401d8739abed567236d1305404ba02e1b82dd213
tree19937537e0c3d623255ccf1e76af36eceb2fb584
parenta6efbf25e4e8307f1bae518ecddbe781d5084120
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