btrfs: don't use UAPI types for fiemap callback
David Sterba
maintainerPATCH 1/1 btrfs: don't use UAPI types for fiemap callback
The fiemap callback is not part of UAPI interface and the prototypes don't have the __u64 types either.
Signed-off-by David Sterba <[email protected]>
--- fs/btrfs/extent_io.c | 2 +- fs/btrfs/extent_io.h | 2 +- fs/btrfs/inode.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
fs/btrfs/extent_io.c +1 -1
@@ -4668,7 +4668,7 @@ static int emit_last_fiemap_cache(struct fiemap_extent_info *fieinfo, }int extent_fiemap (struct inode *inode,struct fiemap_extent_info *fieinfo, -__u64 start,__u64 len) +u64 start,u64 len) {int ret =0 ;u64 off = start;
fs/btrfs/extent_io.h +1 -1
@@ -204,7 +204,7 @@ int btree_write_cache_pages(struct address_space *mapping, struct writeback_control *wbc);void extent_readahead (struct readahead_control *rac);int extent_fiemap (struct inode *inode,struct fiemap_extent_info *fieinfo, -__u64 start,__u64 len); +u64 start,u64 len);void set_page_extent_mapped (struct page *page); struct extent_buffer *alloc_extent_buffer(struct btrfs_fs_info *fs_info,
fs/btrfs/inode.c +1 -1
@@ -7953,7 +7953,7 @@ static ssize_t btrfs_direct_IO(struct kiocb *iocb, struct iov_iter *iter) }static int btrfs_fiemap (struct inode *inode,struct fiemap_extent_info *fieinfo, -__u64 start,__u64 len) +u64 start,u64 len) {int ret;
Signature · 1 line
2.25.0
Quoted 4 lines · David Sterba
The fiemap callback is not part of UAPI interface and the prototypes don't have the
__u64types either.Signed-off-by David Sterba <[email protected]>
Reviewed-by Nikolay Borisov <[email protected]>