]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: fixup xfs_attr_get_ilocked
authorChristoph Hellwig <hch@lst.de>
Mon, 31 Jul 2017 20:08:12 +0000 (15:08 -0500)
committerEric Sandeen <sandeen@redhat.com>
Mon, 31 Jul 2017 20:08:12 +0000 (15:08 -0500)
commitbaebed8247cc908dcc3378e5c21d5b1f4aabe28f
tree478174dfa546a60bf00c7591ae166c1d01ad8d1e
parenta6c6b1bd72f63b2bb05cae185abef0da24e0bf28
xfs: fixup xfs_attr_get_ilocked

Source kernel commit: cf69f8248cc89c0a0e82f8332f9e7f13ab014c98

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>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_attr.c