xfs: lockdep annotations for xfs_dqlock2
authorChristoph Hellwig <hch@lst.de>
Mon, 19 Jan 2009 01:03:19 +0000 (02:03 +0100)
committerLachlan McIlroy <lachlan@sgi.com>
Mon, 19 Jan 2009 03:44:52 +0000 (14:44 +1100)
xfs_dqlock2 locks two xfs_dquots, which is fine as it always locks the
dquot with the lower id first.  Use mutex_lock_nested to tell lockdep
about this fact.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>

No differences found