mirror of
https://github.com/kdave/btrfs-progs
synced 2025-01-12 08:49:33 +00:00
btrfs-progs: use PATH_MAX in cmd_inspect_logical_resolve
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
91435117d7
commit
34673ebeb0
@ -146,7 +146,7 @@ static int cmd_inspect_logical_resolve(int argc, char **argv)
|
||||
struct btrfs_ioctl_logical_ino_args loi;
|
||||
struct btrfs_data_container *inodes;
|
||||
u64 size = 4096;
|
||||
char full_path[4096];
|
||||
char full_path[PATH_MAX];
|
||||
char *path_ptr;
|
||||
DIR *dirstream = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user