]> git.baikalelectronics.ru Git - kernel.git/commitdiff
btrfs: don't use UAPI types for fiemap callback
authorDavid Sterba <dsterba@suse.com>
Tue, 23 Jun 2020 18:56:12 +0000 (20:56 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 27 Jul 2020 10:55:27 +0000 (12:55 +0200)
The fiemap callback is not part of UAPI interface and the prototypes
don't have the __u64 types either.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h
fs/btrfs/inode.c

index 1b18960c9c5d4eb02148df320d2e8f6a4796f8dd..e3078ed2261b9e2abafacbd5a872d6c898812713 100644 (file)
@@ -4669,7 +4669,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;
index 31c5a6aabd755552d2ced0a4aea59b1ea362aac2..00a88f2eb5ab6d50301c0bbf116ad39921039e10 100644 (file)
@@ -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,
index 6f8c7d65c4288c2c9acd76d521ab8f3d3eee3cf8..e5feefa20b28e34951f68c66c7672cbeac1f0768 100644 (file)
@@ -7946,7 +7946,7 @@ out:
 }
 
 static int btrfs_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo,
-               __u64 start, __u64 len)
+                       u64 start, u64 len)
 {
        int     ret;