summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_iomap.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2010-04-28 14:28:53 +0200
committerAlex Elder <aelder@sgi.com>2010-05-19 16:58:17 +0200
commit9563b3d8998c78d5b7e718b546d5f68037c494fe (patch)
treef614d05139491b129515443855e80eb0c562157b /fs/xfs/xfs_iomap.c
parentxfs: remove iomap_target (diff)
downloadlinux-9563b3d8998c78d5b7e718b546d5f68037c494fe.tar.xz
linux-9563b3d8998c78d5b7e718b546d5f68037c494fe.zip
xfs: remove iomap_delta
The iomap_delta field in struct xfs_iomap just contains the difference between the offset passed to xfs_iomap and the iomap_offset. Just calculate it in the only caller that cares. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_iomap.c')
-rw-r--r--fs/xfs/xfs_iomap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/xfs_iomap.c b/fs/xfs/xfs_iomap.c
index 7327d3f3bf64..c6b409e0f013 100644
--- a/fs/xfs/xfs_iomap.c
+++ b/fs/xfs/xfs_iomap.c
@@ -68,7 +68,6 @@ xfs_imap_to_bmap(
xfs_fsblock_t start_block;
iomapp->iomap_offset = XFS_FSB_TO_B(mp, imap->br_startoff);
- iomapp->iomap_delta = offset - iomapp->iomap_offset;
iomapp->iomap_bsize = XFS_FSB_TO_B(mp, imap->br_blockcount);
iomapp->iomap_flags = flags;