ace7d241cc
[BUG] In "btrfs tune" subcommand, we're using open_ctree_fd(), which requires passing a valid fd, and the caller is responsible to properly handling the lifespan of the fd. But we just call close_ctree() and btrfs_close_all_devices(), without closing the fd. [FIX] Just manually close the fd. Reviewed-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com> |
||
---|---|---|
.. | ||
change-csum.c | ||
change-metadata-uuid.c | ||
change-uuid.c | ||
convert-bgt.c | ||
main.c | ||
quota.c | ||
seeding.c | ||
tune.h |