Darrick J. Wong 7c2d238ac6 xfs: allow xfs_lock_two_inodes to take different EXCL/SHARED modes
Refactor xfs_lock_two_inodes to take separate locking modes for each
inode.  Specifically, this enables us to take a SHARED lock on one inode
and an EXCL lock on the other.  The lock class (MMAPLOCK/ILOCK) must be
the same for each inode.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2018-01-29 07:27:23 -08:00
..
2017-11-15 18:21:01 -08:00
2017-11-09 15:50:29 -08:00
2017-10-26 15:38:26 -07:00
2017-11-17 09:51:57 -08:00
2017-04-03 15:18:17 -07:00
2017-11-09 15:50:29 -08:00
2017-10-26 15:38:27 -07:00
2017-08-04 13:43:36 -07:00
2017-12-08 17:51:05 -08:00
2018-01-29 07:27:22 -08:00
2017-09-01 10:55:30 -07:00