]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: tell lockdep about parent iolock usage in filestreams
authorChristoph Hellwig <hch@infradead.org>
Sat, 6 Nov 2010 11:42:44 +0000 (11:42 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 10 Nov 2010 18:00:48 +0000 (12:00 -0600)
commit96cc2b5c8ec658ac3b99fb63c08b5a4c5c620e61
tree8b56f215db003db8984465697cebf2ce9aa119c9
parent6caaac8ff345446dbafd70497e44fd613edf5c8d
xfs: tell lockdep about parent iolock usage in filestreams

The filestreams code may take the iolock on the parent inode while
holding it on a child.  This is the only place in XFS where we take
both the child and parent iolock, so just telling lockdep about it
is enough.  The lock flag required for that was already added as
part of the ilock lockdep annotations and unused so far.

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