]> git.hungrycats.org Git - linux/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:10:14 +0000 (12:10 +0200)
commit8a1f785887d32c1d5206051a78a22529d61248bf
treee94b2f219cf653d6376797244dcf3bedafce75af
parent1c862f5a3e14e3bfbd7af95636cc19bfa6c44b0d
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