Skip to content

Commit 2732881

Browse files
Christoph Hellwigtytso
authored andcommitted
iomap: fix the iomap_fiemap prototype
iomap_fiemap should take u64 start and len arguments, just like the ->fiemap prototype. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Ritesh Harjani <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
1 parent 10c5db2 commit 2732881

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fs/iomap/fiemap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ iomap_fiemap_actor(struct inode *inode, loff_t pos, loff_t length, void *data,
6666
}
6767

6868
int iomap_fiemap(struct inode *inode, struct fiemap_extent_info *fi,
69-
loff_t start, loff_t len, const struct iomap_ops *ops)
69+
u64 start, u64 len, const struct iomap_ops *ops)
7070
{
7171
struct fiemap_ctx ctx;
7272
loff_t ret;

include/linux/iomap.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ int iomap_truncate_page(struct inode *inode, loff_t pos, bool *did_zero,
178178
vm_fault_t iomap_page_mkwrite(struct vm_fault *vmf,
179179
const struct iomap_ops *ops);
180180
int iomap_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo,
181-
loff_t start, loff_t len, const struct iomap_ops *ops);
181+
u64 start, u64 len, const struct iomap_ops *ops);
182182
loff_t iomap_seek_hole(struct inode *inode, loff_t offset,
183183
const struct iomap_ops *ops);
184184
loff_t iomap_seek_data(struct inode *inode, loff_t offset,

0 commit comments

Comments
 (0)