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)
commitcf69f8248cc89c0a0e82f8332f9e7f13ab014c98
treec1f37d931f61a551d0f1ceec9518cf170c6be14a
parentcd87d867920155911d0d2e6485b769d853547750
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