diff options
author | Eric Sandeen <sandeen@sgi.com> | 2005-11-25 16:41:33 +1100 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2005-11-25 16:41:33 +1100 |
commit | 55b02d74e126df70fb6b92a0e4e4bed2f0a13fe4 (patch) | |
tree | ea82c9ca07b562a92d1f4dc2c819e62256a8a96d /fs/xfs/xfs_iomap.h | |
parent | 33bc227e4e48ddadcf2eacb381c19df338f0a6c8 (diff) | |
download | linux-55b02d74e126df70fb6b92a0e4e4bed2f0a13fe4.tar.gz linux-55b02d74e126df70fb6b92a0e4e4bed2f0a13fe4.tar.bz2 linux-55b02d74e126df70fb6b92a0e4e4bed2f0a13fe4.zip |
[XFS] Fix potential overflow in xfs_iomap_t delta for very large extents
SGI-PV: 945311
SGI-Modid: xfs-linux-melb:xfs-kern:201708a
Signed-off-by: Eric Sandeen <sandeen@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_iomap.h')
-rw-r--r-- | fs/xfs/xfs_iomap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_iomap.h b/fs/xfs/xfs_iomap.h index fcd6d63bb68b..3ce204a524b0 100644 --- a/fs/xfs/xfs_iomap.h +++ b/fs/xfs/xfs_iomap.h @@ -69,7 +69,7 @@ typedef struct xfs_iomap { xfs_buftarg_t *iomap_target; xfs_off_t iomap_offset; /* offset of mapping, bytes */ xfs_off_t iomap_bsize; /* size of mapping, bytes */ - size_t iomap_delta; /* offset into mapping, bytes */ + xfs_off_t iomap_delta; /* offset into mapping, bytes */ iomap_flags_t iomap_flags; } xfs_iomap_t; |