diff options
author | Christoph Hellwig <hch@infradead.org> | 2010-04-28 08:28:52 -0400 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-05-19 10:58:16 -0400 |
commit | 046f1685bb5211c3dea74fda0198c19171e9abc9 (patch) | |
tree | 3d01a53802173f26cd0475c74344b598f855e8f2 /fs/xfs/xfs_iomap.h | |
parent | 826bf0adce0cddd9c94c2706b63d181dfc5cdaaa (diff) |
xfs: remove iomap_target
Instead of using the iomap_target field in struct xfs_iomap
and the IOMAP_REALTIME flag just use the already existing
xfs_find_bdev_for_inode helper. There's some fallout as we
need to pass the inode in a few more places, which we also
use to sanitize some calling conventions.
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.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/xfs/xfs_iomap.h b/fs/xfs/xfs_iomap.h index 174f29990991..a85fa90f6fe7 100644 --- a/fs/xfs/xfs_iomap.h +++ b/fs/xfs/xfs_iomap.h | |||
@@ -25,7 +25,6 @@ typedef enum { /* iomap_flags values */ | |||
25 | IOMAP_READ = 0, /* mapping for a read */ | 25 | IOMAP_READ = 0, /* mapping for a read */ |
26 | IOMAP_HOLE = 0x02, /* mapping covers a hole */ | 26 | IOMAP_HOLE = 0x02, /* mapping covers a hole */ |
27 | IOMAP_DELAY = 0x04, /* mapping covers delalloc region */ | 27 | IOMAP_DELAY = 0x04, /* mapping covers delalloc region */ |
28 | IOMAP_REALTIME = 0x10, /* mapping on the realtime device */ | ||
29 | IOMAP_UNWRITTEN = 0x20, /* mapping covers allocated */ | 28 | IOMAP_UNWRITTEN = 0x20, /* mapping covers allocated */ |
30 | /* but uninitialized file data */ | 29 | /* but uninitialized file data */ |
31 | IOMAP_NEW = 0x40 /* just allocate */ | 30 | IOMAP_NEW = 0x40 /* just allocate */ |
@@ -71,7 +70,6 @@ typedef enum { | |||
71 | 70 | ||
72 | typedef struct xfs_iomap { | 71 | typedef struct xfs_iomap { |
73 | xfs_daddr_t iomap_bn; /* first 512B blk of mapping */ | 72 | xfs_daddr_t iomap_bn; /* first 512B blk of mapping */ |
74 | xfs_buftarg_t *iomap_target; | ||
75 | xfs_off_t iomap_offset; /* offset of mapping, bytes */ | 73 | xfs_off_t iomap_offset; /* offset of mapping, bytes */ |
76 | xfs_off_t iomap_bsize; /* size of mapping, bytes */ | 74 | xfs_off_t iomap_bsize; /* size of mapping, bytes */ |
77 | xfs_off_t iomap_delta; /* offset into mapping, bytes */ | 75 | xfs_off_t iomap_delta; /* offset into mapping, bytes */ |