Skip to content

Commit

Permalink
fixup! Update bcachefs sources to 63bbe0ca4167 bcachefs: Scrub
Browse files Browse the repository at this point in the history
Signed-off-by: Kent Overstreet <[email protected]>
  • Loading branch information
Kent Overstreet committed Feb 3, 2025
1 parent 55afc8a commit 67c9b37
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions c_src/cmd_fusemount.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@

#include <linux/dcache.h>

/* XXX cut and pasted from fsck.c */
#define QSTR(n) { { { .len = strlen(n) } }, .name = n }

/* used by write_aligned function for waiting on bch2_write closure */
struct write_aligned_op_t {
struct closure cl;
Expand Down Expand Up @@ -478,10 +475,9 @@ static int read_aligned(struct bch_fs *c, subvol_inum inum, size_t aligned_size,
closure_init_stack(&cl);

closure_get(&cl);
rbio.bio.bi_end_io = bcachefs_fuse_read_endio;
rbio.bio.bi_private = &cl;
rbio.bio.bi_private = &cl;

bch2_read(c, rbio_init(&rbio.bio, io_opts), inum);
bch2_read(c, rbio_init(&rbio.bio, c, io_opts, bcachefs_fuse_read_endio), inum);

closure_sync(&cl);

Expand Down

0 comments on commit 67c9b37

Please sign in to comment.