summaryrefslogtreecommitdiff
path: root/cmd_list.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-02-26 21:38:12 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2023-02-27 21:45:42 -0500
commite0e06d95f899e5e83d66e94600928156a5eb3a4b (patch)
tree5de00419aeed9689125493ce6894ab90b5ea57a0 /cmd_list.c
parent30cca2e94d0dfa8c3151daf1393f402d32bb9407 (diff)
Rust: Start of cmd_list rewrite
This is a _very_ preliminary rewrite of the cmd_list tool in rust, which is intended to be a testing ground for a safe interface in Rust to the core btree interface. This adds rust wrappers for: bch_fs: provides bch2_fs_open(), bch2_fs_stop btree_trans: provides bch2_trans_init(), bch2_trans_exit() btree_iter: provides peek, peek_and_restart, advance bch_errcode: implements Display (wraps bch2_err_str()) bpos: implements Ord (wraps bpos_cmp()) bkey_s_c: implements Display (wraps bch2_bkey_val_to_text()) and other assorted types. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'cmd_list.c')
-rw-r--r--cmd_list.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd_list.c b/cmd_list.c
index db66af2d..1b07df30 100644
--- a/cmd_list.c
+++ b/cmd_list.c
@@ -5,7 +5,6 @@
#include "cmds.h"
#include "libbcachefs.h"
-#include "qcow2.h"
#include "tools-util.h"
#include "libbcachefs/bcachefs.h"