xfs: (re-)implement FIEMAP_FLAG_XATTR
authorChristoph Hellwig <hch@lst.de>
Tue, 16 Aug 2016 22:45:30 +0000 (08:45 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 16 Aug 2016 22:45:30 +0000 (08:45 +1000)
commit1d4795e7bde075588c90df2175349bb2251802d5
tree109e17dfe043a88227e8cf17745ae46bfe0b9961
parentb95a21271b30544a9fb992269d79ed1e1978e023
xfs: (re-)implement FIEMAP_FLAG_XATTR

Use a special read-only iomap_ops implementation to support fiemap on
the attr fork.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_iomap.c
fs/xfs/xfs_iomap.h
fs/xfs/xfs_iops.c