Searched hist:"7 c2d238ac6c435c07780a54719760da2beb46a43" (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/fs/xfs/ |
H A D | xfs_reflink.c | diff 7c2d238ac6c435c07780a54719760da2beb46a43 Fri Jan 26 17:27:33 CST 2018 Darrick J. Wong <darrick.wong@oracle.com> 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>
|
H A D | xfs_bmap_util.c | diff 7c2d238ac6c435c07780a54719760da2beb46a43 Fri Jan 26 17:27:33 CST 2018 Darrick J. Wong <darrick.wong@oracle.com> 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>
|
H A D | xfs_inode.h | diff 7c2d238ac6c435c07780a54719760da2beb46a43 Fri Jan 26 17:27:33 CST 2018 Darrick J. Wong <darrick.wong@oracle.com> 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>
|
H A D | xfs_inode.c | diff 7c2d238ac6c435c07780a54719760da2beb46a43 Fri Jan 26 17:27:33 CST 2018 Darrick J. Wong <darrick.wong@oracle.com> 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>
|