mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
synced 2024-11-28 14:44:36 +08:00
btrfs-progs: zoned: use fixed width type when reading zone size
The ioctl BLKGETZONESZ expects 32bit integer, declare the target variable as such. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
4d86d928c1
commit
1dc6f33c28
@ -471,7 +471,7 @@ size_t btrfs_sb_io(int fd, void *buf, off_t offset, int rw)
|
||||
const u64 sb_size_sector = (BTRFS_SUPER_INFO_SIZE >> SECTOR_SHIFT);
|
||||
u64 mapped = U64_MAX;
|
||||
u32 zone_num;
|
||||
unsigned int zone_size_sector;
|
||||
u32 zone_size_sector;
|
||||
size_t rep_size;
|
||||
int mirror = -1;
|
||||
int i;
|
||||
|
Loading…
Reference in New Issue
Block a user