On Mon, Aug 25, 2008 at 08:59:33AM +0200, Peter Zijlstra wrote:
Yes, you would. Except that in all other places we only have a single
iolock involved, so the ordering of the second iolock and second ilock
don't matter.
Because of that I think declaring that xfs_lock_two_inodes can just
lock on lock type at a time might be the better solution.
--