summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_iomap.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-08-17 08:45:30 +1000
committerDave Chinner <david@fromorbit.com>2016-08-17 08:45:30 +1000
commit1d4795e7bde075588c90df2175349bb2251802d5 (patch)
tree109e17dfe043a88227e8cf17745ae46bfe0b9961 /fs/xfs/xfs_iomap.h
parentb95a21271b30544a9fb992269d79ed1e1978e023 (diff)
downloadlinux-1d4795e7bde075588c90df2175349bb2251802d5.tar.gz
linux-1d4795e7bde075588c90df2175349bb2251802d5.tar.bz2
linux-1d4795e7bde075588c90df2175349bb2251802d5.zip
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>
Diffstat (limited to 'fs/xfs/xfs_iomap.h')
-rw-r--r--fs/xfs/xfs_iomap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_iomap.h b/fs/xfs/xfs_iomap.h
index e066d045e2ff..fb8aca3d69ab 100644
--- a/fs/xfs/xfs_iomap.h
+++ b/fs/xfs/xfs_iomap.h
@@ -35,5 +35,6 @@ void xfs_bmbt_to_iomap(struct xfs_inode *, struct iomap *,
struct xfs_bmbt_irec *);
extern struct iomap_ops xfs_iomap_ops;
+extern struct iomap_ops xfs_xattr_iomap_ops;
#endif /* __XFS_IOMAP_H__*/