From 6f5afc0c12bbf56ffdabe5b2c5297aef255c4baa Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Mon, 2 May 2022 18:39:16 -0400 Subject: Update bcachefs sources to bdf6d7c135 fixup! bcachefs: Kill journal buf bloom filter --- cmd_format.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cmd_format.c') diff --git a/cmd_format.c b/cmd_format.c index c3debe0a..5c2bc8c0 100644 --- a/cmd_format.c +++ b/cmd_format.c @@ -197,9 +197,9 @@ int cmd_format(int argc, char *argv[]) initialize = false; break; case O_no_opt: - darray_push(device_paths, optarg); + darray_push(&device_paths, optarg); dev_opts.path = optarg; - darray_push(devices, dev_opts); + darray_push(&devices, dev_opts); dev_opts.size = 0; break; case O_quiet: @@ -253,7 +253,7 @@ int cmd_format(int argc, char *argv[]) free(opts.passphrase); } - darray_exit(devices); + darray_exit(&devices); if (initialize) { struct bch_opts mount_opts = bch2_opts_empty(); @@ -275,7 +275,7 @@ int cmd_format(int argc, char *argv[]) bch2_fs_stop(c); } - darray_exit(device_paths); + darray_exit(&device_paths); return 0; } -- cgit v1.2.3