]> git.ipfire.org Git - people/arne_f/kernel.git/commit
xfs: actually report xattr extents via iomap
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 6 Apr 2017 23:00:39 +0000 (16:00 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Jun 2017 10:07:51 +0000 (12:07 +0200)
commit4e8163fc8159590c031783bfb0d548ca45f4ebdf
tree4aeb61846f034f8ce49b134453ff1dc97f8e08ff
parentde417ea6b0a607e79b765838d397c0eb0bcb62d9
xfs: actually report xattr extents via iomap

commit 84358536dc355a9c8978ee425f87e116186bed16 upstream.

Apparently FIEMAP for xattrs has been broken since we switched to
the iomap backend because of an incorrect check for xattr presence.
Also fix the broken locking.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/xfs/xfs_iomap.c