mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-27 16:42:17 +00:00
btrfs-progs: close ioctl fd in find new
Signed-off-by: Zach Brown <zab@redhat.com>
This commit is contained in:
parent
4cce2094b1
commit
ceb538f178
@ -764,6 +764,7 @@ static int cmd_find_new(int argc, char **argv)
|
||||
return 12;
|
||||
}
|
||||
ret = btrfs_list_find_updated_files(fd, 0, last_gen);
|
||||
close(fd);
|
||||
if (ret)
|
||||
return 19;
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user