diff options
author | Christoph Hellwig <hch@lst.de> | 2015-01-08 18:48:12 -0500 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2015-01-08 18:48:12 -0500 |
commit | d32057fc84c141af22ddf07b58e52570e52369cd (patch) | |
tree | 14dd7706b8efb12037d9dbdd765ba715afc646dd /fs | |
parent | 64af7a6ea5a4c7e12ae79415250d054424b7e0c2 (diff) |
xfs: pass a 64-bit count argument to xfs_iomap_write_unwritten
The code is already ready for it, and the pnfs layout commit code expects
to be able to pass a larger than 32-bit argument.
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')
-rw-r--r-- | fs/xfs/xfs_iomap.c | 2 | ||||
-rw-r--r-- | fs/xfs/xfs_iomap.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_iomap.c b/fs/xfs/xfs_iomap.c index c980e2a5086b..ccb1dd0d509e 100644 --- a/fs/xfs/xfs_iomap.c +++ b/fs/xfs/xfs_iomap.c | |||
@@ -802,7 +802,7 @@ int | |||
802 | xfs_iomap_write_unwritten( | 802 | xfs_iomap_write_unwritten( |
803 | xfs_inode_t *ip, | 803 | xfs_inode_t *ip, |
804 | xfs_off_t offset, | 804 | xfs_off_t offset, |
805 | size_t count) | 805 | xfs_off_t count) |
806 | { | 806 | { |
807 | xfs_mount_t *mp = ip->i_mount; | 807 | xfs_mount_t *mp = ip->i_mount; |
808 | xfs_fileoff_t offset_fsb; | 808 | xfs_fileoff_t offset_fsb; |
diff --git a/fs/xfs/xfs_iomap.h b/fs/xfs/xfs_iomap.h index 411fbb8919ef..8688e663d744 100644 --- a/fs/xfs/xfs_iomap.h +++ b/fs/xfs/xfs_iomap.h | |||
@@ -27,6 +27,6 @@ int xfs_iomap_write_delay(struct xfs_inode *, xfs_off_t, size_t, | |||
27 | struct xfs_bmbt_irec *); | 27 | struct xfs_bmbt_irec *); |
28 | int xfs_iomap_write_allocate(struct xfs_inode *, xfs_off_t, | 28 | int xfs_iomap_write_allocate(struct xfs_inode *, xfs_off_t, |
29 | struct xfs_bmbt_irec *); | 29 | struct xfs_bmbt_irec *); |
30 | int xfs_iomap_write_unwritten(struct xfs_inode *, xfs_off_t, size_t); | 30 | int xfs_iomap_write_unwritten(struct xfs_inode *, xfs_off_t, xfs_off_t); |
31 | 31 | ||
32 | #endif /* __XFS_IOMAP_H__*/ | 32 | #endif /* __XFS_IOMAP_H__*/ |