]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: fixup xfs_attr_get_ilocked
authorChristoph Hellwig <hch@lst.de>
Thu, 13 Jul 2017 19:14:33 +0000 (12:14 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 13 Jul 2017 21:55:05 +0000 (14:55 -0700)
commit8b4b85c5614f095665cb8e74027599daeb2149e0
treec1f37d931f61a551d0f1ceec9518cf170c6be14a
parent0d43ad1a31625ea8bac4cd49a9c39d38b523a8b6
xfs: fixup xfs_attr_get_ilocked

The comment mentioned the wrong lock.  Also add an ASSERT to assert
this locking precondition.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/libxfs/xfs_attr.c