diff options
Diffstat (limited to 'libbcachefs/fs.c')
-rw-r--r-- | libbcachefs/fs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libbcachefs/fs.c b/libbcachefs/fs.c index 201cdfcb..6c9792e8 100644 --- a/libbcachefs/fs.c +++ b/libbcachefs/fs.c @@ -1458,7 +1458,7 @@ int __init bch2_vfs_init(void) goto err; bch2_writepage_bioset = - bioset_create(4, offsetof(struct bch_writepage_io, bio.bio)); + bioset_create(4, offsetof(struct bch_writepage_io, op.op.wbio.bio)); if (!bch2_writepage_bioset) goto err; @@ -1466,7 +1466,8 @@ int __init bch2_vfs_init(void) if (!bch2_dio_read_bioset) goto err; - bch2_dio_write_bioset = bioset_create(4, offsetof(struct dio_write, bio.bio)); + bch2_dio_write_bioset = + bioset_create(4, offsetof(struct dio_write, iop.op.wbio.bio)); if (!bch2_dio_write_bioset) goto err; |