diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 21:36:45 +0200 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-31 17:18:37 +0100 |
commit | d5eade93452bd1a892e2155e9bb723f04992bdac (patch) | |
tree | 2642da5698805104a8678fb49dd83da43cc8fa7b /fs/bcachefs/chardev.c | |
parent | bcachefs: moving_context now owns a btree_trans (diff) | |
download | linux-d5eade93452bd1a892e2155e9bb723f04992bdac.tar.xz linux-d5eade93452bd1a892e2155e9bb723f04992bdac.zip |
bcachefs: move: convert to bbpos
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/chardev.c')
-rw-r--r-- | fs/bcachefs/chardev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/bcachefs/chardev.c b/fs/bcachefs/chardev.c index f69e15dc699c..4bb88aefed12 100644 --- a/fs/bcachefs/chardev.c +++ b/fs/bcachefs/chardev.c @@ -332,8 +332,8 @@ static ssize_t bch2_data_job_read(struct file *file, char __user *buf, struct bch_ioctl_data_event e = { .type = BCH_DATA_EVENT_PROGRESS, .p.data_type = ctx->stats.data_type, - .p.btree_id = ctx->stats.btree_id, - .p.pos = ctx->stats.pos, + .p.btree_id = ctx->stats.pos.btree, + .p.pos = ctx->stats.pos.pos, .p.sectors_done = atomic64_read(&ctx->stats.sectors_seen), .p.sectors_total = bch2_fs_usage_read_short(c).used, }; |