mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
synced 2025-01-23 20:23:20 +08:00
btrfs-progs: remove unused argument from print_device_chunks
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
780176f356
commit
3446134448
@ -536,7 +536,7 @@ static int _cmd_device_usage(int fd, char *path, unsigned unit_mode)
|
||||
for (i = 0; i < devcount; i++) {
|
||||
printf("%s, ID: %llu\n", devinfo[i].path, devinfo[i].devid);
|
||||
print_device_sizes(&devinfo[i], unit_mode);
|
||||
print_device_chunks(fd, &devinfo[i], chunkinfo, chunkcount,
|
||||
print_device_chunks(&devinfo[i], chunkinfo, chunkcount,
|
||||
unit_mode);
|
||||
printf("\n");
|
||||
}
|
||||
|
@ -997,7 +997,7 @@ out:
|
||||
return !!ret;
|
||||
}
|
||||
|
||||
void print_device_chunks(int fd, struct device_info *devinfo,
|
||||
void print_device_chunks(struct device_info *devinfo,
|
||||
struct chunk_info *chunks_info_ptr,
|
||||
int chunks_info_count, unsigned unit_mode)
|
||||
{
|
||||
|
@ -49,7 +49,7 @@ struct chunk_info {
|
||||
|
||||
int load_chunk_and_device_info(int fd, struct chunk_info **chunkinfo,
|
||||
int *chunkcount, struct device_info **devinfo, int *devcount);
|
||||
void print_device_chunks(int fd, struct device_info *devinfo,
|
||||
void print_device_chunks(struct device_info *devinfo,
|
||||
struct chunk_info *chunks_info_ptr,
|
||||
int chunks_info_count, unsigned unit_mode);
|
||||
void print_device_sizes(struct device_info *devinfo, unsigned unit_mode);
|
||||
|
Loading…
Reference in New Issue
Block a user