]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: add lockdep annotations for the rt inodes
authorChristoph Hellwig <hch@infradead.org>
Tue, 25 Jan 2011 09:06:21 +0000 (09:06 +0000)
committerAlex Elder <aelder@sgi.com>
Mon, 7 Feb 2011 19:29:18 +0000 (13:29 -0600)
commit40c20ff3a87596b1f1ea06e61cd01bfded8ad1a8
tree4695cb892fd54dd75910583a4002f44509dbf239
parentf3832c7875d094be79da62babcc7312f9df93db0
xfs: add lockdep annotations for the rt inodes

The rt bitmap and summary inodes do not participate in the normal inode
locking protocol.  Instead the rt bitmap inode can be locked in any
transaction involving rt allocations, and the both of the rt inodes can
be locked at the same time.  Add specific lockdep subclasses for the rt
inodes to prevent lockdep from blowing up.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/xfs_bmap.c
fs/xfs/xfs_inode.h
fs/xfs/xfs_rtalloc.c