diff options
author | Christoph Hellwig <hch@lst.de> | 2016-08-17 08:45:30 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-08-17 08:45:30 +1000 |
commit | 1d4795e7bde075588c90df2175349bb2251802d5 (patch) | |
tree | 109e17dfe043a88227e8cf17745ae46bfe0b9961 /fs/xfs/xfs_iomap.h | |
parent | b95a21271b30544a9fb992269d79ed1e1978e023 (diff) | |
download | linux-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.h | 1 |
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__*/ |