diff options
author | David Sterba <dsterba@suse.com> | 2015-11-06 17:05:36 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2015-11-06 17:05:36 +0100 |
commit | ee07dc99d19fd58f8ffba336779c282ad75597b0 (patch) | |
tree | 095141ec11d17e35c7e4730f69fd3e29ffa762d3 | |
parent | e29ec82e4e66042ca55bf8cd9ef609e3b21a7eb7 (diff) |
btrfs-progs: remove unused parameter from print_one_fs
Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r-- | cmds-filesystem.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cmds-filesystem.c b/cmds-filesystem.c index 03529455..c6ed388e 100644 --- a/cmds-filesystem.c +++ b/cmds-filesystem.c @@ -387,7 +387,7 @@ static u64 calc_used_bytes(struct btrfs_ioctl_space_args *si) static int print_one_fs(struct btrfs_ioctl_fs_info_args *fs_info, struct btrfs_ioctl_dev_info_args *dev_info, struct btrfs_ioctl_space_args *space_info, - char *label, char *path, unsigned unit_mode) + char *label, unsigned unit_mode) { int i; int fd; @@ -491,8 +491,7 @@ static int btrfs_scan_kernel(void *search, unsigned unit_mode) fd = open(mnt->mnt_dir, O_RDONLY); if ((fd != -1) && !get_df(fd, &space_info_arg)) { print_one_fs(&fs_info_arg, dev_info_arg, - space_info_arg, label, mnt->mnt_dir, - unit_mode); + space_info_arg, label, unit_mode); kfree(space_info_arg); memset(label, 0, sizeof(label)); found = 1; |