aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_iomap.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2010-04-28 08:28:53 -0400
committerAlex Elder <aelder@sgi.com>2010-05-19 10:58:17 -0400
commit9563b3d8998c78d5b7e718b546d5f68037c494fe (patch)
treef614d05139491b129515443855e80eb0c562157b /fs/xfs/xfs_iomap.h
parent046f1685bb5211c3dea74fda0198c19171e9abc9 (diff)
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.h')
-rw-r--r--fs/xfs/xfs_iomap.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/xfs_iomap.h b/fs/xfs/xfs_iomap.h
index a85fa90f6fe7..db9299631ee4 100644
--- a/fs/xfs/xfs_iomap.h
+++ b/fs/xfs/xfs_iomap.h
@@ -72,7 +72,6 @@ typedef struct xfs_iomap {
72 xfs_daddr_t iomap_bn; /* first 512B blk of mapping */ 72 xfs_daddr_t iomap_bn; /* first 512B blk of mapping */
73 xfs_off_t iomap_offset; /* offset of mapping, bytes */ 73 xfs_off_t iomap_offset; /* offset of mapping, bytes */
74 xfs_off_t iomap_bsize; /* size of mapping, bytes */ 74 xfs_off_t iomap_bsize; /* size of mapping, bytes */
75 xfs_off_t iomap_delta; /* offset into mapping, bytes */
76 iomap_flags_t iomap_flags; 75 iomap_flags_t iomap_flags;
77} xfs_iomap_t; 76} xfs_iomap_t;
78 77